HamiltonianCycle

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. >>

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

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

更多信息更多信息