dt = DeductionType.NORMAL;
return toPick.size() > 0 || toFlag.size() > 0;
}
private boolean bruteForceSearch(MutableBoard board) {
BoardInfoHelper helper = new BoardInfoHelper(board);
List<Position> unknown = helper.getCellsByValue(Cell.UNKNOWN);
int bombsToPlace = board.getRemainingBombs();
toFlag.clear(); toPick.clear();
if(Combinations.nCr(unknown.size(), bombsToPlace) < SEARCH_SPACE_LIMIT) {
toFlag.addAll(unknown); toPick.addAll(unknown);
enumerateBombLocations(helper, unknown, new Node(null,null), new Node(null,null), bombsToPlace);