|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.common.GeneralNet
clarion.acs.net.AcsNet
Field Summary | |
protected int |
controlOutputDimNum
the # of NACS-control output dims. |
protected short[] |
fullControlOutputDVs
the dim-val info of NACS-control outputs. |
protected int |
fullControlOutputNum
the # of NACS-control output. |
protected short[] |
fullOutputDVs
D-V info of bottom (IDN) outputs. |
protected int |
netType
network type : EX, GS or WM. |
Fields inherited from class clarion.common.GeneralNet |
c3s, c4s, chosenComp, chosenFullAction, combMode1, combMode2, COMP_NUM, compVcgSets, controlVcgSets, ctComb, exInputNum, exState, fullOutputDimNum, fullOutputNum, global, gsInputNum, gsState, inputNum, netCompFlags, netComps, netIdx, normalVcgSets, outputActivations, reinforcement, sensoryInput, state, stochComb, subsysType, succRates, taskClarion, wmInputNum, wmState, wsComb |
Constructor Summary | |
AcsNet(int netIdx,
Global global)
constructor. |
Method Summary | |
void |
formState()
Forms current state including EX, GS, WM if exists. |
Chunk[][] |
getAllConclusions()
Returns all conclusions by each knowledge type in terms of chunks. |
boolean |
isChosenActionEmpty()
|
void |
offlineTrainByAem()
offline train this network by AEM. |
void |
offlineTrainByEm()
offline train this network by EM. |
void |
perform()
Perform action. |
void |
update(double reward)
Updates each component with the reinforcement at this step. |
protected void |
weightSumCombine()
weight sum combination method override the super method. |
Methods inherited from class clarion.common.GeneralNet |
correctionCombine, decideAction, deliverAction, fillInVcgSets, getChosenFullAction, getExState, getFixRules, getGsState, getIrlRules, getNM, getPM, getRerRules, getRT, getRT, getWmState, reasoning, setCurDesiredOutput, setCurrentTime, setGsState, setReinforcement, setSensoryInput, setStates, setWmState, stochCombine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int netType
protected int fullControlOutputNum
protected int controlOutputDimNum
protected short[] fullControlOutputDVs
protected short[] fullOutputDVs
Constructor Detail |
public AcsNet(int netIdx, Global global)
netIdx
- the network index.Method Detail |
public boolean isChosenActionEmpty()
public Chunk[][] getAllConclusions()
public void perform()
public void update(double reward)
update
in class GeneralNet
reward
- the reinforcement received at this step.protected void weightSumCombine()
weightSumCombine
in class GeneralNet
public void formState()
formState
in class GeneralNet
public void offlineTrainByEm()
public void offlineTrainByAem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |