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

connectedComponentsCells -- Connected components of a collection of cells

Description

Computes and returns the connected components of a collection of cells.

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

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

See also

Ways to use connectedComponentsCells:

  • connectedComponentsCells(CollectionOfCells)

For the programmer

The object connectedComponentsCells is a method function with options.


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