HamiltonianCycle

HamiltonianCycle[g]
finds a Hamiltonian cycle in graph if one exists.

HamiltonianCycle[g, All]
gives all Hamiltonian cycles of graph .

更多信息更多信息

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