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

collectionIsSimple -- Simplicity of a collection of cells

Description

This function checks if a collection of cells is simple, that is, it has no holes.

i1 : Q = cellCollection {{1,1},{2,1},{1,2},{2,2}};
i2 : collectionIsSimple Q

o2 = true


i3 : Q = cellCollection {{1,1},{2,1},{3,1},{1,2},{3,2}};
i4 : collectionIsSimple Q

o4 = true


i5 : Q = cellCollection {{1,1},{2,1},{3,1},{3,2},{1,2},{1,3},{2,3}};
i6 : collectionIsSimple Q

o6 = false

See also

Ways to use collectionIsSimple:

  • collectionIsSimple(CollectionOfCells)

For the programmer

The object collectionIsSimple is a method function with options.


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