ix.test
Class SimpleBlockSim
java.lang.Object
ix.test.SimpleBlockSim
public class SimpleBlockSim
- extends java.lang.Object
A simple block-stacking simulator for blocks represented as lists
of Symbol
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialTowers
LList initialTowers
finalTowers
LList finalTowers
towers
LList towers
SimpleBlockSim
public SimpleBlockSim(java.util.List initialTowers,
java.util.List finalTowers)
SimpleBlockSim
public SimpleBlockSim(BlockStacker stacker)
getTowers
public LList getTowers()
isFinished
public boolean isFinished()
simulatePlan
public void simulatePlan(java.util.List<PNodeEnd> nodeEnds)
moveBlock
public void moveBlock(Symbol block,
Symbol to)
moveToTable
public void moveToTable(Symbol block)