1
0
Fork 0

Move Algorithm.md to doc folder

This commit is contained in:
Joris van Rantwijk 2023-04-15 12:03:39 +02:00
parent e16f502bcf
commit f9bd7aecf6
1 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ A vertex is matched if it is incident to an edge in the matching, otherwise it i
An alternating path is a simple path that alternates between matched and unmatched edges. An alternating path is a simple path that alternates between matched and unmatched edges.
![Figure 1](doc/figures/graph1.png) ![Figure 1](figures/graph1.png)
*Figure 1* *Figure 1*
Figure 1 depicts a graph with 6 vertices and 9 edges. Figure 1 depicts a graph with 6 vertices and 9 edges.
@ -208,7 +208,7 @@ Furthermore, after shrinking a blossom, that blossom can become a sub-blossom
in a bigger blossom. in a bigger blossom.
Figure 2 depicts a graph with several nested blossoms. Figure 2 depicts a graph with several nested blossoms.
![Figure 2](doc/figures/graph2.png) <br> ![Figure 2](figures/graph2.png) <br>
*Figure 2: Nested blossoms* *Figure 2: Nested blossoms*
To describe the algorithm unambiguously, we need precise definitions: To describe the algorithm unambiguously, we need precise definitions:
@ -292,7 +292,7 @@ In this case a new blossom must be created by shrinking the cycle.
If the two S-blossoms are in different alternating trees, the edge that links the blossoms If the two S-blossoms are in different alternating trees, the edge that links the blossoms
is part of an augmenting path between the roots of the two trees. is part of an augmenting path between the roots of the two trees.
![Figure 3](doc/figures/graph3.png) <br> ![Figure 3](figures/graph3.png) <br>
*Figure 3: Growing alternating trees* *Figure 3: Growing alternating trees*
The graph in figure 3 contains two unmatched vertices: 0 and 7. The graph in figure 3 contains two unmatched vertices: 0 and 7.
@ -420,7 +420,7 @@ The blossom also has a different base vertex.
(In specific cases where the augmenting path merely "grazes" a blossom, (In specific cases where the augmenting path merely "grazes" a blossom,
the orientation and base vertex remain unchanged.) the orientation and base vertex remain unchanged.)
![Figure 4](doc/figures/graph4.png) <br> ![Figure 4](figures/graph4.png) <br>
*Figure 4: Augmenting path through a blossom* *Figure 4: Augmenting path through a blossom*
Figure 4 shows an augmenting path that runs through a blossom. Figure 4 shows an augmenting path that runs through a blossom.
@ -632,7 +632,7 @@ We then assign alternating labels T and S to the sub-blossoms along that path
and link them into the alternating tree. and link them into the alternating tree.
All vertices of sub-blossoms that got label S are inserted into _Q_. All vertices of sub-blossoms that got label S are inserted into _Q_.
![Figure 5](doc/figures/graph5.png) <br> ![Figure 5](figures/graph5.png) <br>
*Figure 5: Expanding a T-blossom* *Figure 5: Expanding a T-blossom*
### Keeping track of least-slack edges ### Keeping track of least-slack edges