|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFlipper
public final class Flipper
Method Summary | |
---|---|
int |
diagsInDest(PEdge[] diags,
PEdge[] dest)
Return bit map of which diagonals to dest array. |
int |
flipsInDest(PEdge[] diags,
PEdge[] dest)
Return bit map of which diagonals in the current flip array belong to dest array |
int[][] |
getCodes(PEdge[] diags)
|
int[] |
getCoFlips(PEdge[] diags)
|
int[] |
getFaces(PEdge[] diags)
return copy of faces array. |
PEdge[] |
getFlipResult(PEdge[] diags,
int index)
|
PEdge[] |
getFlips(PEdge[] diags)
Return a copy of the flip array just created by the call setFlips(diags). |
long |
hash(PEdge[] diags)
|
void |
printCoFlips()
|
void |
setCoFlips(PEdge[] diags)
Compute coflip array. |
void |
setFaces(PEdge[] diags)
|
void |
setFlipResult(PEdge[] diags,
int index)
|
void |
setFlips(PEdge[] diags)
|
PEdge[] |
unhash(long code)
|
int |
updatedSpin(PEdge[] diags,
int index,
int spin)
return spin vector obtained by flipping edge with given index in the given diagonal set, assuming that the diagonal set has the given spin. |
PEdge[] |
xRotate(PEdge[] diags,
int r,
boolean rev)
"Temporary" rotation routine. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PEdge[] getFlips(PEdge[] diags)
public void setFlips(PEdge[] diags)
public PEdge[] getFlipResult(PEdge[] diags, int index)
public void setFlipResult(PEdge[] diags, int index)
public int updatedSpin(PEdge[] diags, int index, int spin)
public void setFaces(PEdge[] diags)
public int[] getFaces(PEdge[] diags)
public int[][] getCodes(PEdge[] diags)
public int[] getCoFlips(PEdge[] diags)
public void setCoFlips(PEdge[] diags)
public void printCoFlips()
public long hash(PEdge[] diags)
public PEdge[] unhash(long code)
public int flipsInDest(PEdge[] diags, PEdge[] dest)
public int diagsInDest(PEdge[] diags, PEdge[] dest)
public PEdge[] xRotate(PEdge[] diags, int r, boolean rev)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |