Project

General

Profile

« Previous | Next » 

Revision bf890718

Added by Leszek Koltunski about 1 year ago

Pyraminx solver: progress

View differences:

src/main/java/org/distorted/objectlib/tablebases/TablebasesAbstract.java
256 256
              int currQuat = tmpQuats[cubit];
257 257
              int newQuat = getMultQuat(quat,currQuat);
258 258
              tmpQuats[cubit] = newQuat;
259

  
260
if( index==0 && ax==2 && layer==1 && angle==2 )
261
  {
262
  android.util.Log.e("D","cubit "+cubit+" belongs, oldQ="+currQuat+" quat="+quat+" new: "+newQuat);
263
  }
259 264
              }
260 265

  
266
if( tmpQuats[4]==0 &&  tmpQuats[5]==1 && tmpQuats[6]==4 && tmpQuats[7]==3 && tmpQuats[8]==10 && tmpQuats[9]==9 )
267
  {
268
  android.util.Log.e("D","index="+index+" level="+level+" ax="+ax+" layer="+layer+" angle="+angle);
269
  android.util.Log.e("D", quats[4]+" "+quats[5]+" "+quats[6]+" "+quats[7]+" "+quats[8]+" "+quats[9]);
270
  }
271

  
261 272
          int childIndex = getIndex(tmpQuats);
262 273
          if( mTablebase.insertUnpacked(childIndex,newLevel) ) ret++;
263 274
          }

Also available in: Unified diff