Macaulay2 » Documentation
Packages » PolyominoIdeals » standardNonAttackingRookConfigurations
next | previous | forward | backward | up | index | toc

standardNonAttackingRookConfigurations -- Standard non-attacking rook configurations

Description

This function generates all standard non-attacking rook configurations on a collection of cells. Two rooks are in non-attacking position if they do not share the same row or column.

i1 : Q = cellCollection {{1,1},{1,2},{2,1},{3,1},{3,2}};
i2 : netList standardNonAttackingRookConfigurations Q

     +----------------+----------------+----------------+----------------+--------+
o2 = |{{1, 1}}        |{{1, 2}}        |{{2, 1}}        |{{3, 1}}        |{{3, 2}}|
     +----------------+----------------+----------------+----------------+--------+
     |{{2, 1}, {3, 2}}|{{1, 2}, {2, 1}}|{{1, 1}, {3, 2}}|{{1, 2}, {3, 1}}|        |
     +----------------+----------------+----------------+----------------+--------+

See also

Ways to use standardNonAttackingRookConfigurations:

  • standardNonAttackingRookConfigurations(CollectionOfCells)

The source of this document is in PolyominoIdeals.m2:1498:0.