clarion.nacs
Class EMAcsSample

java.lang.Object
  extended byclarion.nacs.EMAcsSample

public class EMAcsSample
extends java.lang.Object


Constructor Summary
EMAcsSample(Chunk curState, Chunk curAction, Chunk nextState, double reward)
          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.
 double getReward()
          Returns the part of the reinforcement.
 java.lang.String toString()
          methods from class Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMAcsSample

public EMAcsSample(Chunk curState,
                   Chunk curAction,
                   Chunk nextState,
                   double reward)
constructor.

Parameters:
curState - the current state part.
curAction - the current attion part.
nextState - the next state part.
reward - the reinforcement part.
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.

toString

public java.lang.String toString()
methods from class Object