Queen's Graph
   HOME

TheInfoList



OR:

In mathematics, a queen's graph is a
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discre ...
that represents all legal moves of the
queen Queen or QUEEN may refer to: Monarchy * Queen regnant, a female monarch of a Kingdom ** List of queens regnant * Queen consort, the wife of a reigning king * Queen dowager, the widow of a king * Queen mother, a queen dowager who is the mother ...
—a
chess piece A chess piece, or chessman, is a game piece that is placed on a chessboard to play the game of chess. It can be either White and Black in chess, white or black, and it can be one of six types: King (chess), king, Queen (chess), queen, Rook (chess ...
—on a
chessboard A chessboard is a used to play chess. It consists of 64 squares, 8 rows by 8 columns, on which the chess pieces are placed. It is square in shape and uses two colours of squares, one light and one dark, in a chequered pattern. During play, the bo ...
. In the graph, each
vertex Vertex, vertices or vertexes may refer to: Science and technology Mathematics and computer science *Vertex (geometry), a point where two or more curves, lines, or edges meet * Vertex (computer graphics), a data structure that describes the positio ...
represents a square on a chessboard, and each
edge Edge or EDGE may refer to: Technology Computing * Edge computing, a network load-balancing system * Edge device, an entry point to a computer network * Adobe Edge, a graphical development application * Microsoft Edge, a web browser developed by ...
is a legal move the queen can make, that is, a horizontal, vertical or diagonal move by any number of squares. If the chessboard has dimensions m\times n, then the induced graph is called the m\times n queen's graph. Independent sets of the graphs correspond to placements of multiple queens where no two queens are attacking each other. They are studied in the
eight queens puzzle The eight queens puzzle is the problem of placing eight chess queens on an 8×8 chessboard so that no two queens threaten each other; thus, a solution requires that no two queens share the same row, column, or diagonal. There are 92 solutions. ...
, where eight non-attacking queens are placed on a standard 8\times 8 chessboard.
Dominating set In graph theory, a dominating set for a graph is a subset of its vertices, such that any vertex of is either in , or has a neighbor in . The domination number is the number of vertices in a smallest dominating set for . The dominating set ...
s represent arrangements of queens where every square is attacked or occupied by a queen; five queens, but no fewer, can dominate the 8\times 8 chessboard. Colourings of the graphs represent ways to colour each square so that a queen cannot move between any two squares of the same colour; at least ''n'' colours are needed for an n\times n chessboard, but 9 colours are needed for the 8\times 8 board.


Properties

There is a
Hamiltonian cycle In 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 once. A Hamiltonian cycle (or Hamiltonian circuit) is a cycle that visits each vertex ...
for each queen's graph, and the graphs are biconnected (they remain
connected Connected may refer to: Film and television * ''Connected'' (2008 film), a Hong Kong remake of the American movie ''Cellular'' * '' Connected: An Autoblogography About Love, Death & Technology'', a 2011 documentary film * ''Connected'' (2015 TV ...
if any single vertex is removed). The special cases of the 1\times n and 2\times 2 queen's graphs are
complete Complete may refer to: Logic * Completeness (logic) * Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable Mathematics * The completeness of the real numbers, which implies t ...
.


Independence

An independent set of the graph corresponds to a placement of several queens on a chessboard such that no two queens are attacking each other. In an n\times n chessboard, the largest independent set contains at most ''n'' vertices, as no two queens can be in the same row or column. This upper bound can be achieved for all ''n'' except ''n''=2 and ''n''=3. In the case of n=8, this is the traditional eight queens puzzle.


Domination

A
dominating set In graph theory, a dominating set for a graph is a subset of its vertices, such that any vertex of is either in , or has a neighbor in . The domination number is the number of vertices in a smallest dominating set for . The dominating set ...
of the queen's graph corresponds to a placement of queens such that every square on the chessboard is either attacked or occupied by a queen. On an 8\times 8 chessboard, five queens can dominate, and this is the minimum number possible (four queens leave at least two squares unattacked). There are 4,860 such placements of five queens, including ones where the queens control also all occupied squares, i.e. they attack respectively protect each other. In this subgroup, there are also positions where the queens occupy squares on the main diagonal only (e.g. from a1 to h8), or all on a subdiagonal (e.g. from a2 to g8). Modifying the graph by replacing the non-looping rectangular 8\times 8 chessboard with a
torus In geometry, a torus (plural tori, colloquially donut or doughnut) is a surface of revolution generated by revolving a circle in three-dimensional space about an axis that is coplanar with the circle. If the axis of revolution does not tou ...
or
cylinder A cylinder (from ) has traditionally been a three-dimensional solid, one of the most basic of curvilinear geometric shapes. In elementary geometry, it is considered a prism with a circle as its base. A cylinder may also be defined as an infin ...
reduces the minimum dominating set size to four. The 3\times 3 queen's graph is dominated by the single vertex at the centre of the board. The centre vertex of the 5\times 5 queen's graph is adjacent to all but 8 vertices: those vertices that are adjacent to the centre vertex of the 5\times 5 knight's graph.


Domination numbers

Define the domination number ''d''(''n'') of an n\times n queen's graph to be the size of the smallest dominating set, and the diagonal domination number ''dd''(''n'') to be the size of the smallest dominating set that is a subset of the long diagonal. Note that d(n)\le dd(n) for all ''n''. The bound is attained for d(8)=dd(8)=5, but not for d(11)=5,dd(11)=7. The domination number is linear in ''n'', with bounds given by: : \frac \le d(n)\le n-\left \lfloor \frac\right \rfloor. Initial values of ''d''(''n''), for n=1,2,3,\dots, are 1, 1, 1, 2, 3, 3, 4, 5, 5, 5, 5 . Let ''Kn'' be the maximum size of a subset of \ such that every number has the same parity and no three numbers form an
arithmetic progression An arithmetic progression or arithmetic sequence () is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common differ ...
(the set is "midpoint-free"). The diagonal domination number of an n\times n queen's graph is n-K_n. Define the independent domination number ''ID''(''n'') to be the size of the smallest independent, dominant set in an n\times n queen's graph. It is known that ID(n)<0.705n+0.895.


Colouring

A colouring of the queen's graph is an assignment of colours to each vertex such that no two adjacent vertices are given the same colour. For instance, if a8 is coloured red then no other square on the a-
file File or filing may refer to: Mechanical tools and processes * File (tool), a tool used to ''remove'' fine amounts of material from a workpiece **Filing (metalworking), a material removal process in manufacturing ** Nail file, a tool used to gent ...
, eighth
rank Rank is the relative position, value, worth, complexity, power, importance, authority, level, etc. of a person or object within a ranking, such as: Level or position in a hierarchical organization * Academic rank * Diplomatic rank * Hierarchy * H ...
or long diagonal can be coloured red, as a queen can move from a8 to any of these squares. The chromatic number of the graph is the smallest number of colours that can be used to colour it. In the case of an n\times n queen's graph, at least ''n'' colours are required, as each square in a rank or file needs a different colour (i.e. the rows and columns are
cliques A clique ( AusE, CanE, or ), in the social sciences, is a group of individuals who interact with one another and share similar interests. Interacting with cliques is part of normative social development regardless of gender, ethnicity, or popular ...
). The chromatic number is exactly ''n'' if n\equiv 1,5 \pmod 6 (i.e. ''n'' is one more or one less than a multiple of 6). The chromatic number of an 8\times 8 queen's graph is 9.


Irredundance

A set of vertices is irredundant if removing any vertex from the set changes the
neighbourhood A neighbourhood (British English, Irish English, Australian English and Canadian English) or neighborhood (American English; see spelling differences) is a geographically localised community within a larger city, town, suburb or rural are ...
of the set i.e. for each vertex, there is an adjacent vertex that is not adjacent to any other vertex in the set. This corresponds to a set of queens which each uniquely control at least one square. The maximum size ''IR''(''n'') of an irredundant set on the n\times n queen's graph is difficult to characterise; known values include IR(5)=5,IR(6)=7,IR(7)=9,IR(8)=11.


Pursuit–evasion game

Consider the
pursuit–evasion Pursuit–evasion (variants of which are referred to as cops and robbers and graph searching) is a family of problems in mathematics and computer science in which one group attempts to track down members of another group in an environment. Early ...
game on an 8\times 8 queen's graph played according to the following rules: a white queen starts in one corner and a black queen in the opposite corner. Players alternate moves, which consist of moving the queen to an adjacent vertex that can be reached without passing over (horizontally, vertically or diagonally) or landing on a vertex that is adjacent to the opposite queen. This game can be won by white with a pairing strategy.


See also

*
King's graph In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n \times m king's graph ...
* Knight's graph *
Rook's graph In graph theory, a rook's graph is a graph that represents all legal moves of the rook chess piece on a chessboard. Each vertex of a rook's graph represents a square on a chessboard, and each edge connects two squares on the same row (rank) or on ...
*
Bishop's graph In mathematics, a bishop's graph is a graph that represents all legal moves of the chess piece the bishop on a chessboard. Each vertex represents a square on the chessboard and each edge represents a legal move of the bishop; that is, there is ...
*


References

{{reflist Mathematical chess problems Parametric families of graphs