|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFlipDict
public class FlipDict
keeps track of mapping between original diags and current diags after a sequence of flips
Constructor Summary | |
---|---|
FlipDict(int n)
|
Method Summary | |
---|---|
void |
flip(int prevForwardIndex,
int curBackIndex)
|
int |
getCurrent(int k)
|
int |
getOriginal(int k)
|
void |
reset()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlipDict(int n)
Method Detail |
---|
public void reset()
public void flip(int prevForwardIndex, int curBackIndex)
public int getOriginal(int k)
public int getCurrent(int k)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |