Package ball.game.sudoku
Class RuleOfUniqueness
- java.lang.Object
-
- ball.game.sudoku.Rule
-
- ball.game.sudoku.RuleOfElimination
-
- ball.game.sudoku.RuleOfUniqueness
-
@ServiceProviderFor(Rule.class) public class RuleOfUniqueness extends RuleOfElimination
Sudoku "rule-of-uniqueness"Ruleimplementation. If a digit is the only possible solution for aCellin its row, column, and 3x3 nonet once other possible solutions for the other cells in the same row, column, and nonet are removed then it must be the solution for that cell.- Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description RuleOfUniqueness()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyTo(Puzzle puzzle)
-
-
-
Constructor Detail
-
RuleOfUniqueness
public RuleOfUniqueness()
-
-