C++ Reference: eulerian_path
Note: This documentation is automatically generated.
Utility to build Eulerian paths and tours on a graph. For more information, see https://en.wikipedia.org/wiki/Eulerian_path. As of 10/2015, only undirected graphs are supported.Usage:
- Building an Eulerian tour on a ReverseArcListGraph:
ReverseArcListGraph<int, int> graph;
// Fill graph
std::vector<int> tour = BuildEulerianTour(graph);
- Building an Eulerian path on a ReverseArcListGraph:
ReverseArcListGraph<int, int> graph;
// Fill graph
std::vector<int> tour = BuildEulerianPath(graph);
Function | Type | Arguments | Comments |
---|---|---|---|
BuildEulerianPath | Return type: Arguments: | ||
BuildEulerianPathFromNode | Return type: Arguments: | ||
BuildEulerianTour | Return type: Arguments: | ||
BuildEulerianTourFromNode | Return type: Arguments: | ||
IsEulerianGraph | Return type: Arguments: | ||
IsSemiEulerianGraph | Return type: Arguments: |