class CoordCube extends Object
Modifier and Type | Field and Description |
---|---|
(package private) short |
flip
edges orientation coordinates
|
(package private) static short[][] |
flipMove
Move table for the flips of the edges.
|
(package private) short |
FRtoBR
UD slice coordinates
|
(package private) static short[][] |
FRtoBR_Move
Move table for the four UD-slice edges FR, FL, BL and BR
FRtoBRMove < 11880 in phase 1 FRtoBRMove < 24 in phase 2 (since they are already in the slice) FRtoBRMove = 0 for solved cube |
(package private) static short[][] |
MergeURtoULandUBtoDF
Table to merge the coordinates of the UR,UF,UL and UB,DR,DF edges at the beginning of phase2
|
(package private) static short |
N_FLIP
2^11 possible edge flips (orientations)
|
(package private) static short |
N_FRtoBR
12!/(12-4)! permutation of FR,FL,BL,BR edges
|
(package private) static short |
N_MOVE
6 faces, 3 rotation per face
|
(package private) static short |
N_PARITY
2 possible corner parities
|
(package private) static short |
N_SLICE1
12 choose 4 possible positions of FR,FL,BL,BR edges
|
(package private) static short |
N_SLICE2
4! permutations of FR,FL,BL,BR edges in phase2
|
(package private) static short |
N_TWIST
3^7 possible corner twists (orientations)
|
(package private) static short |
N_UBtoDF
12!/(12-3)! permutation of UB,DR,DF edges
|
(package private) static int |
N_URFtoDLB
8! permutations of the corners
|
(package private) static short |
N_URFtoDLF
8!/(8-6)! permutation of URF,UFL,ULB,UBR,DFR,DLF corners
|
(package private) static int |
N_URtoBR
8! permutations of the corners
|
(package private) static short |
N_URtoDF
8!/(8-6)! permutation of UR,UF,UL,UB,DR,DF edges in phase2
|
(package private) static short |
N_URtoUL
12!/(12-3)! permutation of UR,UF,UL edges
|
(package private) short |
parity |
(package private) static short[][] |
parityMove
Parity of the corner permutation.
|
(package private) static byte[] |
Slice_Flip_Prun
Pruning table for the flip of the edges and the position (not permutation) of the UD-slice edges in phase1.
|
(package private) static byte[] |
Slice_Twist_Prun
Pruning table for the twist of the corners and the position (not permutation) of the UD-slice edges in phase1.
|
(package private) static byte[] |
Slice_URFtoDLF_Parity_Prun
Pruning table for the permutation of the corners and the UD-slice edges in phase2.
|
(package private) static byte[] |
Slice_URtoDF_Parity_Prun
Pruning table for the permutation of the edges in phase2.
|
(package private) short |
twist
corners orientation coordinates
|
(package private) static short[][] |
twistMove
Move table for the twists of the corners.
|
(package private) short |
UBtoDF |
(package private) static short[][] |
UBtoDF_Move
Move table for the three edges UB,DR and DF in phase1.
|
(package private) short |
URFtoDLF |
(package private) static short[][] |
URFtoDLF_Move
Move table for permutation of six corners.
|
(package private) int |
URtoDF |
(package private) static short[][] |
URtoDF_Move
Move table for the permutation of six U-face and D-face edges in phase2.
|
(package private) short |
URtoUL |
(package private) static short[][] |
URtoUL_Move
Move table for the three edges UR,UF and UL in phase1.
|
Constructor and Description |
---|
CoordCube(CubieCube c)
Generate a CoordCube from a CubieCube
|
Modifier and Type | Method and Description |
---|---|
(package private) static byte |
getPruning(byte[] table,
int index)
Extract pruning value
|
(package private) void |
move(int m)
A move on the coordinate level
|
private static void |
setPruning(byte[] table,
int index,
byte value)
Set pruning value in table.
|
static final short N_TWIST
static final short N_FLIP
static final short N_SLICE1
static final short N_SLICE2
static final short N_PARITY
static final short N_URFtoDLF
static final short N_FRtoBR
static final short N_URtoUL
static final short N_UBtoDF
static final short N_URtoDF
static final int N_URFtoDLB
static final int N_URtoBR
static final short N_MOVE
short twist
short flip
short parity
short FRtoBR
short URFtoDLF
short URtoUL
short UBtoDF
int URtoDF
static short[][] twistMove
static short[][] flipMove
static short[][] parityMove
static short[][] FRtoBR_Move
static short[][] URFtoDLF_Move
static short[][] URtoDF_Move
static short[][] URtoUL_Move
static short[][] UBtoDF_Move
static short[][] MergeURtoULandUBtoDF
static byte[] Slice_URFtoDLF_Parity_Prun
static byte[] Slice_URtoDF_Parity_Prun
static byte[] Slice_Twist_Prun
static byte[] Slice_Flip_Prun
CoordCube(CubieCube c)