public abstract class Rule extends Object
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
applyTo(Puzzle puzzle)
|
protected int |
count(Iterable<Cell> iterable)
Method to get the count of solved
Cell s. |
protected Digits |
solved(Iterable<Cell> iterable)
Method to get the solved
Digits . |
protected int |
sum(Iterable<Cell> iterable)
Method to get the sum of solved
Cell s. |
Copyright © 2015–2020 Allen D. Ball. All rights reserved.