Revision 2876aeb6
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/solvers/SolverPyraminx.java | ||
---|---|---|
12 | 12 |
import android.content.res.Resources; |
13 | 13 |
|
14 | 14 |
import org.distorted.main.R; |
15 |
import org.distorted.objectlib.main.ObjectType;
|
|
15 |
import org.distorted.objectlib.main.ObjectSignatures;
|
|
16 | 16 |
import org.distorted.objectlib.main.TwistyObject; |
17 | 17 |
import org.distorted.objectlib.tablebases.ImplementedTablebasesList; |
18 | 18 |
import org.distorted.objectlib.tablebases.TablebaseHelpers; |
... | ... | |
555 | 555 |
{ |
556 | 556 |
if( mSolver==null ) |
557 | 557 |
{ |
558 |
mSolver = ImplementedTablebasesList.createPacked(res,ObjectType.PYRA_3);
|
|
558 |
mSolver = ImplementedTablebasesList.createPacked(res, ObjectSignatures.PYRA_3);
|
|
559 | 559 |
} |
560 | 560 |
|
561 | 561 |
int[][] moves1 = mSolver!=null ? mSolver.solution(index) : null; |
Also available in: Unified diff
Tablebase-based scrambling.