HamiltonianPath

HamiltonianPath[g]
finds a Hamiltonian path in graph if one exists.

HamiltonianPath[g, All]
gives all Hamiltonian paths of graph .

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »