test if graph is Eulerian
find Eulerian cycle
find Eulerian path
Eulerian graphs in SpecialGraphs
The IsEulerian command returns true if the input graph is an Eulerian graph, i.e there exists a Eulerian cycle, a closed walk in the graph that traverses each edge exactly once. It returns false otherwise.
An Eulerian path is a walk that traverses each edge exactly once, but whose initial and final vertices are not required to be the same. Every Eulerian cycle is an Eulerian path, but the reverse is not true.
An optional second argument T is assigned a Trail corresponding to an Eulerian cycle of the graph if such a cycle exists, and FAIL otherwise.
The FindEulerianCycle command returns a trail corresponding to an Eulerian cycle if one exists, and NULL otherwise.
The FindEulerianPath command returns a list corresponding to an Eulerian path if one exists, and NULL otherwise.
The algorithm used to construct the trail is depth-first-search. The complexity is O⁡n+m where n=|V| and m=|E|.
The following are graphs in the SpecialGraphs subpackage which are Eulerian.
Number of Vertices
Number of Edges
Berlekamp-van Lint-Seidel graph
The GraphTheory[FindEulerianCycle] and GraphTheory[FindEulerianPath] commands were introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
Download Help Document
What kind of issue would you like to report? (Optional)