Show Table of Contents
25.4. Sudoku Example: Cell Objects
CellandCellGroupare subclasses ofSetOfNine, which provides a propertyfreewith the typeSet<Integer>. For aCellit represents the individual candidate set. For aCellGroupthe set is the union of all candidate sets of its cells, or the set of digits that still need to be allocated.- You can write rules that detect the specific situations that permit the allocation of a value to a cell or the elimination of a value from some candidate set. For example, you can create a list of
Cellobjects with 81Celland 27CellGroupobjects. You can also combine the linkage provided by theCellpropertiescellRow,cellCol,cellSqrand theCellGrouppropertycells.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.