lnsc.page
Interface StateGenerator

All Known Implementing Classes:
AbstractStateGenerator

public interface StateGenerator

Generates next (or observable) states.


Method Summary
 State[] getStates(State s, Action a)
          Returns the list of possibly resulting state or the resulting state.
 boolean isDeterministic()
          Indicates whether only the resulting state is returned or whether a list of possible next states is returned.
 

Method Detail

getStates

public State[] getStates(State s,
                         Action a)
Returns the list of possibly resulting state or the resulting state. Or, on null action, in an partially observable environment, the (list) of observable states for agent(s).

Returns:
The (list) of (possibly) resulting/oberved state.

isDeterministic

public boolean isDeterministic()
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!)

Returns:
true if their is only one resulting state, false otherwise.