Matchings Flashcards

1
Q

What is a matching?

A

A one to one pairing of elements from one set to another set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a complete matching?

A

A matching in which every vertex from both sets is paired with another vertex

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a maximal matching?

A

A matching in which the number of edges is as large as possible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the maximal matching algorithm

A

Start at an unmatched vertex from set X, and find an alternating path which ends at an unmatched vertex from set Y—a path whose edges alternate between not being in the initial matching and being in the initial matching. Once this has been found, swap the state of each edge in the alternating path. Repeat this entire process until either a complete matching is found, or no alternating path exists, indicating a maximal matching has been found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is an alternating path represented?

A

A “—” is used to mean a vertex can become matched with another vertex, while a “=” is used when a vertex is already matched with another vertex. If there are multiple choice of vertices to go to, the path simply splits into multiple branches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly