192193194195196197198199200201202
} } if (frontierSet.isEmpty()) { throw new PuzzleException("no path possible - NO LEAF LEFT"); } // extract next best leaf currLeaf = frontierSet.poll(); // build evaluation from leaf currEvalue = createEvalue(currLeaf);
278279280281282283284
else if ( (pieces[i] & 0x0F) == 0) return 2*i +1; } throw new PuzzleException("getZeroCellIndex() empty cell not found"); }
256257258259260261262263264265266
352353354355356357358