Package ball.game.sudoku
Class RuleOfSums
- java.lang.Object
-
- ball.game.sudoku.Rule
-
- ball.game.sudoku.RuleOfElimination
-
- ball.game.sudoku.RuleOfSums
-
@ServiceProviderFor(Rule.class) public class RuleOfSums extends RuleOfElimination
Sudoku simple "rule-of-sums"Ruleimplementation. Calculates the minimum maximum possible value for any cell and removes any greater numbers from consideration.- Author:
- Allen D. Ball
-
-
Constructor Summary
Constructors Constructor Description RuleOfSums()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyTo(Puzzle puzzle)protected intmax(Iterable<Cell> iterable)
-
-
-
Constructor Detail
-
RuleOfSums
public RuleOfSums()
-
-