📑 Table of Contents
Knight's graph
knight's graph
Vertices
Edges (if and )
Girth4 (if and )
Propertiesbipartite
Table of graphs and parameters

In graph theory, a knight's graph, or a knight's tour graph, is a graph that represents all legal moves of the knight chess piece on a chessboard. Each vertex of this graph represents a square of the chessboard, and each edge connects two squares that are a knight's move apart from each other. More specifically, an knight's graph is a knight's graph of an chessboard.[1] Its vertices can be represented as the points of the Euclidean plane whose Cartesian coordinates are integers with and (the points at the centers of the chessboard squares), and with two vertices connected by an edge when their Euclidean distance is .

For an knight's graph, the number of vertices is . If and then the number of edges is (otherwise there are no edges). For an knight's graph, these simplify so that the number of vertices is and the number of edges is .[2]

A Hamiltonian cycle on the knight's graph is a (closed) knight's tour.[1] A chessboard with an odd number of squares has no tour, because the knight's graph is a bipartite graph (each color of squares can be used as one of two independent sets, and knight moves always change square color) and only bipartite graphs with an even number of vertices can have Hamiltonian cycles. Most chessboards with an even number of squares have a knight's tour; Schwenk's theorem provides an exact listing of which ones do and which do not.[3]

When it is modified to have toroidal boundary conditions (meaning that a knight is not blocked by the edge of the board, but instead continues onto the opposite edge) the knight's graph is the same as the four-dimensional hypercube graph.[3]

See also

edit

References

edit
  1. ^ a b Averbach, Bonnie; Chein, Orin (1980), Problem Solving Through Recreational Mathematics, Dover, p. 195, ISBN 9780486131740.
  2. ^ Sloane, N. J. A. (ed.). "Sequence A033996". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  3. ^ a b Watkins, John J. (2004), Across the Board: The Mathematics of Chessboard Problems. Paradoxes, perplexities, and mathematical conundrums for the serious head scratcher, Princeton University Press, pp. 44, 68, ISBN 978-0-691-15498-5.
edit

📚 Artikel Terkait di Wikipedia

Hamiltonian path

the mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path in an undirected or directed graph that visits each vertex exactly

Knight's tour

of the more general Hamiltonian path problem in graph theory. The problem of finding a closed knight's tour is similarly an instance of the Hamiltonian

Knight (chess)

knight can have up to eight available moves at once. Knights and pawns are the only pieces that can be moved in the chess starting position. Knights and

Graph theory

computer science, graph theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. A graph in this context

Hypercube graph

In graph theory, the hypercube graph Q n {\displaystyle Q_{n}} is the edge graph of the n {\displaystyle n} -dimensional hypercube, that is, it is the

Queen's graph

mathematics, a queen's graph is an undirected graph that represents all legal moves of the queen—a chess piece—on a chessboard. In the graph, each vertex represents

Polyknight

connected subset of the vertices of a knight's graph, a graph formed by connecting pairs of lattice squares that are a knight's move apart. Three common ways

Scene graph

A scene graph is a hierarchical data structure commonly used by vector-based graphics editing applications and modern computer games, which cascades the