ix.test
Class SimpleBlockSim

java.lang.Object
  extended by ix.test.SimpleBlockSim

public class SimpleBlockSim
extends java.lang.Object

A simple block-stacking simulator for blocks represented as lists of Symbols.


Field Summary
(package private)  LList finalTowers
           
(package private)  LList initialTowers
           
(package private)  LList towers
           
 
Constructor Summary
SimpleBlockSim(BlockStacker stacker)
           
SimpleBlockSim(java.util.List initialTowers, java.util.List finalTowers)
           
 
Method Summary
 LList getTowers()
           
 boolean isFinished()
           
 void moveBlock(Symbol block, Symbol to)
           
 void moveToTable(Symbol block)
           
 void simulatePlan(java.util.List<PNodeEnd> nodeEnds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initialTowers

LList initialTowers

finalTowers

LList finalTowers

towers

LList towers
Constructor Detail

SimpleBlockSim

public SimpleBlockSim(java.util.List initialTowers,
                      java.util.List finalTowers)

SimpleBlockSim

public SimpleBlockSim(BlockStacker stacker)
Method Detail

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)