Fleury's Algorithm for finding an Euler Circuit
- Check to make sure that the graph is connected and all vertices are of even degree
- Start at any vertex
- Travel through an edge:
- If it is not a bridge for the untraveled part, or
- there is no other alternative
- Label the edges in the order in which you travel them.
- When you cannot travel any more, stop. (You are done!)
An illustration of Fleury's Algorithm
|