Revision 8fca1c69
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/solvers/SolverCuboid323.java | ||
---|---|---|
285 | 285 |
if( result1<0 ) return result1; |
286 | 286 |
|
287 | 287 |
//android.util.Log.e("D", "upper: "+mUpper); |
288 |
//for(int i=0; i<6; i++) android.util.Log.e("D", "face color: "+mFaceColors[i]);
|
|
288 |
for(int i=0; i<6; i++) android.util.Log.e("D", "face color: "+mFaceColors[i]); |
|
289 | 289 |
|
290 | 290 |
int[] edge_perm = new int[8]; |
291 | 291 |
int result2 = retEdgePermutation(edge_perm,edges); |
292 | 292 |
if( result2<0 ) return result2; |
293 | 293 |
|
294 |
// TablebaseHelpers.displayTable(corner_perm, "CORNER PERM");
|
|
295 |
// TablebaseHelpers.displayTable(edge_perm, "EDGE PERM");
|
|
294 |
TablebaseHelpers.displayTable(corner_perm, "CORNER PERM"); |
|
295 |
TablebaseHelpers.displayTable(edge_perm, "EDGE PERM8");
|
|
296 | 296 |
|
297 | 297 |
int[] edge_perm2 = TBCuboid323.edgePermTo7(edge_perm); |
298 | 298 |
|
299 |
TablebaseHelpers.displayTable(edge_perm2, "EDGE PERM7"); |
|
300 |
|
|
299 | 301 |
int corner_perm_num = TablebaseHelpers.computePermutationNum(corner_perm); |
300 | 302 |
int edge_perm_num = TablebaseHelpers.computePermutationNum(edge_perm2); |
301 | 303 |
boolean inPlace = isFrontEdgeInItsPlace(edges); |
Also available in: Unified diff
CU_323 solver: minor.