Creates Group object given value to initial candidates to
candidate initial value
Creates Group object given value to initial candidates to
candidate initial value
row to corresponding cell
column to corresponding cell
Creates Group object given value to initial candidates to
candidate initial value
row to corresponding cell
column to corresponding cell
candidate array length, defaults to ROW_LENGTH
Private candidatesPrivate columnPrivate rowPrivate sizeStatic Private Readonly subsetsChecks if Group contains candidate
true if candidate at given index is in this Group
zero based index of candidate
Checks if Group contains candidate
true if candidate is in this Group
candidate
Adds candidate to Group
true if candidate was inserted, false if candidate was already in Group
candidate
Adds candidate to Group
true if candidate was inserted, false if candidate was already in Group
zero based index of candidate
Given a Group of candidates inserts them into this Group
true if at least one of the candidates was inserted, false if all of them were already in Group
Group containing candidates to insert into this Group
Returns first candidate not less than given candidate, i.e. smallest candidate >= given candidate
first candidate not less than given candidate or -1 if no such candidate exists
candidate
Remove candidate from Group
true if candidate was removed, false if candidate wasn't in Group to begin with
candidate
Remove candidate from Group
true if candidate was removed, false if candidate wasn't in Group to begin with
zero based index of candidate
Given a Group of candidates removes them from this Group
true if at least one of the candidates was removed, false if none of them were in Group to begin with
Group containing candidates to remove from this Group
Static Private addAdds every possible subset to subsets
index of candidate being decided upon addition to subsets
stores candidates in current subset being computed
number of elements to choose from in subset
Static getGiven a size returns array containing all subsets with that many candidates
array containg Groups with every possible subset of given size
number of elements in desired subsets
number of elements to choose from in subset, defaults to ROW_LENGTH
Static Private initializeStatic unionGiven an array of groups returns a Group that represents their union (contains every candidate any of them contains)
Group containing the union of the given groups (contains every candidate that any of them contain)
Groups being unioned
Generated using TypeDoc
Constructed using initial value to fill Group with Can check if Group contains a value Can insert values