stimulusdelayreward
Class OfflineStateRepresentation

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

public class OfflineStateRepresentation
extends AbstractStateRepresentation

State representation that is processed elsewhere before being called by ... This class is not good practice.

See Also:
Serialized Form

Constructor Summary
OfflineStateRepresentation(int count)
          Creates an offlined process representation.
 
Method Summary
 double[] getRepresentation(State s)
          Converts the state into a vector of real based on specific representation.
 void setRep(double[] rep)
           
 
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

OfflineStateRepresentation

public OfflineStateRepresentation(int count)
Creates an offlined process representation.

Parameters:
count - Representation length.
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.

setRep

public void setRep(double[] rep)