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

allNonAttackingRookConfigurations -- All non-attacking rook configurations in Q

Description

For a collection of cells $\mathcal{P}$, this function returns the list of all configurations of non-attacking rooks on $\mathcal{P}$.

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

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

See also

Ways to use allNonAttackingRookConfigurations:

  • allNonAttackingRookConfigurations(CollectionOfCells)

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