BishopsGraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory[SpecialGraphs]

  

BishopsGraph

  

construct bishop's graph

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

BishopsGraph(m,n)

Parameters

m, n

-

positive integers

Description

• 

The BishopsGraph(m,n) command creates the m by n bishop's graph on m*n vertices. This is the bipartite graph which represents all legal moves of the bishop chess piece on an m by n chessboard.

• 

An m by n bishop's graph has  edges when m and n are both greater than 1, and zero edges otherwise.

Examples

(1)

(2)

(3)

The two connected components of the bishop's graph correspond to the squares reachable by the white bishop and the black bishop.

(4)

Compatibility

• 

The GraphTheory[SpecialGraphs][BishopsGraph] command was introduced in Maple 2023.

• 

For more information on Maple 2023 changes, see Updates in Maple 2023.

See Also

ChromaticNumber

IsPlanar

KingsGraph

KnightsGraph

QueensGraph

RooksGraph

SpecialGraphs

 


Download Help Document