Revision c64217f7
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TablebasesAbstract.java | ||
---|---|---|
287 | 287 |
} |
288 | 288 |
|
289 | 289 |
int childIndex = getIndex(tmpQuats); |
290 |
if( mTablebase.insertUnpacked(childIndex,newLevel) ) ret++; |
|
290 |
if( mTablebase.insertUnpacked(childIndex,newLevel) ) |
|
291 |
{ |
|
292 |
//android.util.Log.e("D", newLevel+" parent:"+index+" index: "+childIndex+" ax="+ax+" layer="+layer+" angle="+angle); |
|
293 |
ret++; |
|
294 |
} |
|
295 |
else |
|
296 |
{ |
|
297 |
//android.util.Log.d("D", newLevel+" parent:"+index+" index: "+childIndex+" ax="+ax+" layer="+layer+" angle="+angle); |
|
298 |
} |
|
291 | 299 |
} |
292 | 300 |
} |
293 | 301 |
|
... | ... | |
602 | 610 |
|
603 | 611 |
public void test() |
604 | 612 |
{ |
605 |
int index1= 89894; |
|
606 |
int index2= 735014; |
|
607 |
|
|
608 |
int[] q1= getQuats(index1); |
|
609 |
int[] q2= getQuats(index2); |
|
610 |
|
|
611 |
TablebaseHelpers.displayTable(q1, "QUATS1"); |
|
612 |
TablebaseHelpers.displayTable(q2, "QUATS2"); |
|
613 |
|
|
614 |
int index3 = getIndex(q1); |
|
615 |
int index4 = getIndex(q2); |
|
616 |
|
|
617 |
android.util.Log.e("D", "index3="+index3+" index4="+index4); |
|
613 |
int index = 252373232; |
|
614 |
int[] q = getQuats(index); |
|
615 |
TablebaseHelpers.displayTable(q , "QUATS "); |
|
618 | 616 |
} |
619 | 617 |
} |
Also available in: Unified diff
CU_323 solver: minor.