Project

General

Profile

« Previous | Next » 

Revision 8739593d

Added by Leszek Koltunski over 1 year ago

Diamond Skewb solver: add Tablebase.

View differences:

src/main/java/org/distorted/solvers/SolverSkewbDiamond.java
490 490
    {
491 491
    if( mSolver==null )
492 492
      {
493
      //mSolver = ImplementedTablebasesList.createPacked(res,ObjectType.DIAM_2);
493
      mSolver = ImplementedTablebasesList.createPacked(res,ObjectType.DIAM_2);
494 494

  
495
      mSolver = ImplementedTablebasesList.createUnpacked(ObjectType.DIAM_2);
496
      if( mSolver!=null ) mSolver.createTablebase();
495
      //mSolver = ImplementedTablebasesList.createUnpacked(ObjectType.DIAM_2);
496
      //if( mSolver!=null ) mSolver.createTablebase();
497 497
      }
498 498

  
499 499
    return mSolver!=null ? mSolver.solution(index) : null;

Also available in: Unified diff