Table of Contents

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

bool

Path

Gets the vertices on a Hamiltonian path in the digraph, if there is one.

IEnumerable<int> Path { get; }

Property Value

IEnumerable<int>

Exceptions

InvalidOperationException

there is no Hamiltonian cycle.