|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--lnsc.page.AbstractObservableAgent | +--stimulusdelayreward.ActorCritic_PETLSTM_Monkey1
This is the basic monkey without mesocortical projection. It uses and ActorCritic model of the basal ganglia and it uses a eligibility traces driven version of LSTM (ETLSTM1) as frontal cortex. Both system runs in parallel and basal ganglia receives input from LSTM output at previous time step. LSTM are updates on their next input. LSTM are trained to predict their next inputs.
Constructor Summary | |
ActorCritic_PETLSTM_Monkey1(int blockCount,
int cellPerBlock,
boolean inSquash,
boolean outSquash,
boolean gate2gate,
boolean in2out,
double LSTMlr,
double ACMlr,
int ACmodel,
StateRepresentation ACStateRep,
double lambda,
boolean oppSignResetTraces)
|
Method Summary | |
void |
endEpisode(State finalState)
Used by the state space (or environement) to tell the agent that the episode is terminated. |
void |
newEpisode(State newState)
Used to tell the agent that a new episode is beginning. |
Action |
requestAction(State currentState)
Used by the State space (or environment) to request an action from the agent. |
void |
returnReward(State resultState,
double reward)
Used by the state space (or environement) to return the result from the last action done thought RequestActions. |
DataSet |
toDataSet()
Similar to the toString method, but return state content in the form of a DataSet. |
java.lang.String |
toString()
|
Methods inherited from class lnsc.page.AbstractObservableAgent |
getEvalMode, isAdaptive, isEvaluable, notifyObservers, setEvalMode |
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActorCritic_PETLSTM_Monkey1(int blockCount, int cellPerBlock, boolean inSquash, boolean outSquash, boolean gate2gate, boolean in2out, double LSTMlr, double ACMlr, int ACmodel, StateRepresentation ACStateRep, double lambda, boolean oppSignResetTraces)
Method Detail |
public void endEpisode(State finalState)
Agent
finalState
- Final state of the episode.public void newEpisode(State newState)
Agent
newState
- First stae of the episode.public Action requestAction(State currentState)
Agent
currentState
- The current state of the agent.
public void returnReward(State resultState, double reward)
Agent
resultState
- Resulting state from last action.reward
- Resulting reward from last action.public DataSet toDataSet()
Agent
toDataSet
in interface Agent
toDataSet
in class AbstractObservableAgent
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |