|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object smithers.twisty.SingmasterNotation
public class SingmasterNotation
Represents the Singmaster Notation for the Rubik's Cube. This class is currently limited to the 3x3x3 cube. It is also completely untested.
Constructor Summary | |
---|---|
SingmasterNotation()
|
Method Summary | |
---|---|
Twist[] |
getTwists(java.lang.String description,
RubiksCube puzzle)
Gets the sequence of twists determined by the description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingmasterNotation()
Method Detail |
---|
public Twist[] getTwists(java.lang.String description, RubiksCube puzzle)
ClassCastException
) by the implementation of TwistyPuzzle.twist(Twist)
in the class P
, although they may not
be possible from all positions of the puzzle (or even the current
position of the puzzle argument).
getTwists
in interface PuzzleNotation<RubiksCube>
description
- the twists in this notationpuzzle
- a prototype puzzle to use in case the puzzle type
itself has parameters necessary for interpreting the
notation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |