Combinatorica`
Combinatorica`

KnightsTourGraph

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

KnightsTourGraph[m,n]

returns a graph with mn vertices in which each vertex represents a square in an m×n chessboard, and each edge corresponds to a legal move by a knight from one square to another.

Details

See Also

KnightTourGraph  GridGraph  HamiltonianCycle

Tutorials