D1 June 2006 Q2

EdexcelOld spec7 marksAllocation

2.

(a) Define the term ‘alternating path’. (2)
Figure 1: bipartite graph joining customers Adam (A), Daniela (D), Henry (H), Min-Seong (M), Robert (R), Sam (S) to films B, C, F, K, P, Y; bold lines A-B, D-C, H-Y, M-F show the initial matching
Figure 1

The bipartite graph in Figure 1 shows the films that six customers wish to hire this Saturday evening. The shop has only one copy of each film. The bold lines indicate an initial matching.

(b) Starting from this initial matching use the maximum matching algorithm twice to obtain a complete matching. You should clearly state the alternating paths you use. (5)