Revision 682f73d2
Added by Leszek Koltunski over 2 years ago
| src/main/java/org/distorted/solvers/SolverCube2.java | ||
|---|---|---|
| 281 | 281 |
{
|
| 282 | 282 |
if( mSolver==null ) |
| 283 | 283 |
{
|
| 284 |
mSolver = ImplementedTablebasesList.createPacked(res,ObjectSignatures.CUBE_2); |
|
| 284 |
mSolver = ImplementedTablebasesList.createUnpacked(ObjectSignatures.CUBE_2); |
|
| 285 |
|
|
| 286 |
if( mSolver!=null ) |
|
| 287 |
{
|
|
| 288 |
int level = 5; |
|
| 289 |
mSolver.createTablebase(level); |
|
| 290 |
mSolver.testPruning(level); |
|
| 291 |
} |
|
| 285 | 292 |
} |
| 286 | 293 |
|
| 287 | 294 |
return mSolver!=null ? mSolver.solution(index,null) : null; |
Also available in: Unified diff
progress with PruningTable.