Package | Description |
---|---|
enums | |
solver |
Modifier and Type | Method and Description |
---|---|
static AllMoves |
AllMoves.resultingMove(AllMoves move1,
AllMoves move2)
Calculates the resulting move of two moves, that are in the same group and executed after another.
|
static AllMoves |
AllMoves.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllMoves[] |
AllMoves.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static AllMoves |
AllMoves.resultingMove(AllMoves move1,
AllMoves move2)
Calculates the resulting move of two moves, that are in the same group and executed after another.
|
Modifier and Type | Field and Description |
---|---|
AllMoves[] |
RubiksCube.solution
Solution array that contains all performed moves and the final solution after removing redundancy.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RubiksCube.applyMoves(AllMoves[] moves)
Apply given moves to cube-representation.
|
protected void |
MotorController.applyMoves(AllMoves[] maneuver,
boolean scanning)
Execute given moves on physical cube.
|
protected void |
MotorController.applyMoves(AllMoves[] maneuver,
int manIndex,
boolean scanning)
Execute given moves on physical cube.
|
protected int |
MotorController.overshoot(AllMoves[] maneuver,
int thisMove,
int manIndex)
Calculates additional angle to prevent mechanical failure.
|
Constructor and Description |
---|
RubiksCube(AllMoves[] maneuver)
Constructor that initializes cube in solved-state and applies given maneuver to cube.
|