Class UniqueInXHelper
Inheritance
System.Object
UniqueInXHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SudokuSpice.RuleBased.Heuristics
Assembly: SudokuSpice.dll
Syntax
public class UniqueInXHelper
Constructors
| Improve this Doc View SourceUniqueInXHelper(IReadOnlyPuzzleWithMutablePossibleValues)
Declaration
public UniqueInXHelper(IReadOnlyPuzzleWithMutablePossibleValues puzzle)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyPuzzleWithMutablePossibleValues | puzzle |
Methods
| Improve this Doc View SourceCopyWithNewReference(IReadOnlyPuzzleWithMutablePossibleValues)
Declaration
public UniqueInXHelper CopyWithNewReference(IReadOnlyPuzzleWithMutablePossibleValues puzzle)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyPuzzleWithMutablePossibleValues | puzzle |
Returns
Type | Description |
---|---|
UniqueInXHelper |
UndoLastUpdate()
Declaration
public void UndoLastUpdate()
UpdateIfUnique(ReadOnlySpan<BitVector>, ReadOnlySpan<Coordinate[]>)
Declaration
public bool UpdateIfUnique(ReadOnlySpan<BitVector> possibleValuesToCheck, ReadOnlySpan<Coordinate[]> coordinatesToCheck)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<BitVector> | possibleValuesToCheck | |
System.ReadOnlySpan<Coordinate[]> | coordinatesToCheck |
Returns
Type | Description |
---|---|
System.Boolean |