Interface IHamiltonianPath
- Namespace
- AlgorithmsSW.Digraph
- Assembly
- AlgorithmsSW.dll
public interface IHamiltonianPath
- Extension Methods
Properties
HasHamiltonianPath
Gets a value indicating whether the digraph has a Hamiltonian path.
bool HasHamiltonianPath { get; }
Property Value
Path
Gets the vertices on a Hamiltonian path in the digraph, if there is one.
IEnumerable<int> Path { get; }
Property Value
Exceptions
- InvalidOperationException
there is no Hamiltonian cycle.