|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Eulerian graph detection and path/cycle finding. More...
Go to the source code of this file.
Classes | |
| class | Aleph::Test_Eulerian< GT, SN, SA > |
| Tests whether a graph or digraph is Eulerian. More... | |
| class | Aleph::Find_Eulerian_Path< GT, SN, SA > |
| Finds and constructs an Eulerian path or cycle using Hierholzer's algorithm. More... | |
| struct | Aleph::Find_Eulerian_Path< GT, SN, SA >::Result |
| Result type: path and its classification. More... | |
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Enumerations | |
| enum class | Aleph::Eulerian_Type { Aleph::Cycle , Aleph::Path , Aleph::None } |
| Enumeration for Eulerian graph classification. More... | |
Eulerian graph detection and path/cycle finding.
This file provides algorithms to test whether a graph or digraph is Eulerian (contains an Eulerian cycle) or semi-Eulerian (contains an Eulerian path).
| Operation | Time |
|---|---|
| Test Eulerian | O(V + E) |
| With connectivity check | O(V + E) |
Definition in file eulerian.H.