stimulusdelayreward
Class TwoSignalStateRepresentation

java.lang.Object
  |
  +--lnsc.page.AbstractStateRepresentation
        |
        +--stimulusdelayreward.TwoSignalStateRepresentation
All Implemented Interfaces:
java.io.Serializable, StateRepresentation

public class TwoSignalStateRepresentation
extends AbstractStateRepresentation

This class allows automatic conversion of MonkeyObservableState into two signals vectors.

See Also:
Serialized Form

Constructor Summary
TwoSignalStateRepresentation()
           
 
Method Summary
 double[] getRepresentation(State s)
          Converts the state into a vector of real based on specific representation.
 
Methods inherited from class lnsc.page.AbstractStateRepresentation
getOutputCount, isStateless, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoSignalStateRepresentation

public TwoSignalStateRepresentation()
Method Detail

getRepresentation

public double[] getRepresentation(State s)
Description copied from interface: StateRepresentation
Converts the state into a vector of real based on specific representation.

Parameters:
s - State to be converted.
Returns:
Real vector representation of the state.