Revision 31d0a3fc
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TablebasesAbstract.java | ||
---|---|---|
295 | 295 |
} |
296 | 296 |
|
297 | 297 |
int childIndex = getIndex(tmpQuats); |
298 |
if( mTablebase.insertUnpacked(childIndex,newLevel) ) |
|
299 |
{ |
|
300 |
//android.util.Log.e("D", newLevel+" parent:"+index+" index: "+childIndex+" ax="+ax+" layer="+layer+" angle="+angle); |
|
301 |
ret++; |
|
302 |
} |
|
303 |
else |
|
304 |
{ |
|
305 |
//android.util.Log.d("D", newLevel+" parent:"+index+" index: "+childIndex+" ax="+ax+" layer="+layer+" angle="+angle); |
|
306 |
} |
|
298 |
if( mTablebase.insertUnpacked(childIndex,newLevel) ) ret++; |
|
307 | 299 |
} |
308 | 300 |
} |
309 | 301 |
|
... | ... | |
313 | 305 |
return ret; |
314 | 306 |
} |
315 | 307 |
|
308 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
309 |
|
|
310 |
public boolean useForScrambling() |
|
311 |
{ |
|
312 |
return true; |
|
313 |
} |
|
314 |
|
|
316 | 315 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
317 | 316 |
|
318 | 317 |
public void createTablebase(int maxLevel) |
Also available in: Unified diff
CU_323 solver: don't use this for scrambling.