Expand description
Path algorithms for graphs
This module contains algorithms for finding special paths in graphs, including Eulerian and Hamiltonian paths.
Enums§
- Eulerian
Type - Result of Eulerian path/circuit check
Functions§
- eulerian_
type - Checks if a graph has an Eulerian path or circuit
- has_
hamiltonian_ circuit - Checks if a graph has a Hamiltonian circuit (cycle visiting every vertex exactly once)
- has_
hamiltonian_ path - Checks if a graph has a Hamiltonian path (visiting every vertex exactly once)