lnsc.page
Class AbstractStateGenerator

java.lang.Object
  |
  +--lnsc.page.AbstractStateGenerator
All Implemented Interfaces:
StateGenerator

public abstract class AbstractStateGenerator
extends java.lang.Object
implements StateGenerator

Optional basis for class implementing StateGenerator interface. Derived classes constructor must fill the protected variables and implement StateGenerator.getStates(lnsc.page.State, lnsc.page.Action).


Constructor Summary
AbstractStateGenerator()
           
 
Method Summary
 boolean isDeterministic()
          Indicates whether only the resulting state is returned or whether a list of possible next states is returned.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lnsc.page.StateGenerator
getStates
 

Constructor Detail

AbstractStateGenerator

public AbstractStateGenerator()
Method Detail

isDeterministic

public boolean isDeterministic()
Description copied from interface: StateGenerator
Indicates whether only the resulting state is returned or whether a list of possible next states is returned. (Does not necessarly tells whether the environment is really deterministic or not!)

Specified by:
isDeterministic in interface StateGenerator
Returns:
true if their is only one resulting state, false otherwise.