CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.rubik.solver
Class ChoiceMoveTable

java.lang.Object
  extended by ch.randelshofer.rubik.solver.MoveTable
      extended by ch.randelshofer.rubik.solver.ChoiceMoveTable

public class ChoiceMoveTable
extends MoveTable

Phase 1 move mapping table for twists. This class has been derived from kocimovt.h from the 'Kociemba Cube Solver 1.0' (KCube) (c) Greg Schmidt.

Version:
0.0 2000-07-01
Author:
Werner Randelshofer, Hausmatt 10, CH-6045 Immensee, Switzerland

Constructor Summary
ChoiceMoveTable(KociembaCube cube)
           
 
Method Summary
protected  int ordinalFromCubeState()
           
protected  void ordinalToCubeState(int ordinal)
           
 
Methods inherited from class ch.randelshofer.rubik.solver.MoveTable
dump, get, initialize, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChoiceMoveTable

public ChoiceMoveTable(KociembaCube cube)
Method Detail

ordinalFromCubeState

protected int ordinalFromCubeState()
Specified by:
ordinalFromCubeState in class MoveTable

ordinalToCubeState

protected void ordinalToCubeState(int ordinal)
Specified by:
ordinalToCubeState in class MoveTable

(c) Werner Randelshofer.
All rights reserved.