Project

General

Profile

« Previous | Next » 

Revision 67400d7f

Added by Leszek Koltunski over 1 year ago

PruningTables now being correctly created in CreatorActivity and read in by the main app.

View differences:

src/main/java/org/distorted/solvers/SolverCube2.java
281 281
    {
282 282
    if( mSolver==null )
283 283
      {
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
        }
284
      mSolver = ImplementedTablebasesList.createPacked(res,ObjectSignatures.CUBE_2);
292 285
      }
293 286

  
294 287
    return mSolver!=null ? mSolver.solution(index,null) : null;

Also available in: Unified diff