use of common.order.ForwardOrderLookUp in project solution-finder by knewjade.
the class HoldBreakEnumeratePieces method enumerate.
@Override
public Set<LongPieces> enumerate() throws IOException {
assert counter == -1;
int depth = generator.getDepth();
ForwardOrderLookUp forwardOrderLookUp = new ForwardOrderLookUp(maxDepth, depth);
AtomicInteger counter = new AtomicInteger();
HashSet<LongPieces> searchingPieces = create(depth, forwardOrderLookUp, counter);
this.counter = counter.get();
return searchingPieces;
}
Aggregations