clarion.nacs
Class AbsEMSample

java.lang.Object
  extended byclarion.nacs.AbsEMSample

public class AbsEMSample
extends java.lang.Object


Constructor Summary
AbsEMSample(Chunk curState, Chunk curAction, Chunk nextState, double rewardIdx, double[] stateDistributions, Chunk[] potentialNextStates)
          constructor.
 
Method Summary
 Chunk getCurAction()
          Returns the part of current action.
 Chunk getCurState()
          Returns the part of current state.
 Chunk getNextState()
          Returns the part of the next state.
 Chunk[] getPotentialNextStates()
          Returns the part of potential next states.
 double getReward()
          Returns the part of the reinforcement.
 double[] getStateDistributions()
          Returns the part of state distributions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbsEMSample

public AbsEMSample(Chunk curState,
                   Chunk curAction,
                   Chunk nextState,
                   double rewardIdx,
                   double[] stateDistributions,
                   Chunk[] potentialNextStates)
constructor.

Parameters:
curState - the current state part.
curAction - the current attion part.
nextState - the next state part.
stateDistributions - the state distributions.
potentialNextStates - the potential next states.
Method Detail

getCurState

public Chunk getCurState()
Returns the part of current state.

Returns:
the part of current state.

getCurAction

public Chunk getCurAction()
Returns the part of current action.

Returns:
the part of current action.

getNextState

public Chunk getNextState()
Returns the part of the next state.

Returns:
the part of the next state.

getReward

public double getReward()
Returns the part of the reinforcement.

Returns:
the part of the reinforcement.

getStateDistributions

public double[] getStateDistributions()
Returns the part of state distributions.

Returns:
the part of state distributions.

getPotentialNextStates

public Chunk[] getPotentialNextStates()
Returns the part of potential next states.

Returns:
the part of potential next states.