|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.common.GeneralNetComp
Field Summary | |
protected StochasticDecider |
actionDecider
|
protected short[][][] |
chosenAction
the finally chosen action by integrating all of the NetComps. |
protected int |
currentTime
|
protected int |
FULL_OUTPUT_DIM_NUM
# OF All of output dims. |
protected int |
FULL_OUTPUT_NUM
full length of the output in terms of all of output dims. |
protected short[] |
fullOutputDVs
D-V info of bottom (IDN) outputs. |
protected short[] |
fullOutputOffsets
start position of each (bottom) output dim in one dimensional aray. |
protected Global |
global
global settings. |
protected int |
INPUT_DIM_NUM
# of input dims. |
protected int |
INPUT_NUM
length of the input. |
protected short[] |
inputDVs
# of values in each input dim. |
protected short[] |
inputOffsets
the start position of each dim in the input array. |
protected int |
netIdx
the network index. |
protected int |
OUTPUT_DIM_NUM
|
protected int |
OUTPUT_NUM
length of the output in terms of dims relevant to this net comp. |
protected double[][] |
outputActivations
output activations used for weight-sum combination. |
protected short[] |
outputDVs
# of values in each output dim. |
protected short[] |
outputOffsets
the start position of each dim in the output array. |
protected int |
responseTime
|
protected int |
subsysIdx
the subsystem index: ACS or MCS. |
protected short[][][] |
suggestedAction
current suggested action by this network component. |
protected TaskClarion |
taskClarion
task-specific CLARION settings. |
protected double |
temperature
variables for action decision making. |
Constructor Summary | |
GeneralNetComp()
|
Method Summary | |
abstract void |
calcRT(int AT)
calculate the response time given by action time. |
abstract short[][][] |
decideAction()
decide an action and returns the decided action. |
abstract double |
getNM()
returns the number of positive matches. |
abstract double[][] |
getOutputActivations()
returns the output activations including both NORMAL and CONTROL actions if any. |
abstract void |
getOutputActivations(double[][] activations)
returns the output activations including both NORMAL and CONTROL actions if any. |
abstract double |
getPM()
returns the number of positive matches. |
abstract int |
getResponseTime(int AT)
returns the response time given action time. |
abstract void |
reasoning()
the reasoning routine defined in this component. |
abstract void |
setChosenAction(short[][][] chosenFullAction)
set the chosen action. |
abstract void |
setCurrentTime(int curTime)
set the current time. |
abstract void |
setStates(double[] state,
double[] exState,
double[] gsState,
double[] wmState)
set the states. |
abstract void |
update(boolean posFlag)
the update routine defined in this component. |
abstract void |
update(double reward)
the update routine defined in this component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Global global
protected TaskClarion taskClarion
protected int subsysIdx
protected int netIdx
protected int INPUT_NUM
protected int OUTPUT_NUM
protected int FULL_OUTPUT_NUM
protected int INPUT_DIM_NUM
protected int OUTPUT_DIM_NUM
protected int FULL_OUTPUT_DIM_NUM
protected short[] inputDVs
protected short[] outputDVs
protected short[] inputOffsets
protected short[] outputOffsets
protected short[] fullOutputDVs
protected short[] fullOutputOffsets
protected double[][] outputActivations
protected short[][][] chosenAction
protected short[][][] suggestedAction
protected int currentTime
protected int responseTime
protected double temperature
protected StochasticDecider actionDecider
Constructor Detail |
public GeneralNetComp()
Method Detail |
public abstract double getPM()
public abstract double getNM()
public abstract double[][] getOutputActivations()
public abstract void getOutputActivations(double[][] activations)
public abstract short[][][] decideAction()
public abstract int getResponseTime(int AT)
public abstract void setChosenAction(short[][][] chosenFullAction)
chosenFullAction
- the full action to fill in the chosen action.public abstract void setStates(double[] state, double[] exState, double[] gsState, double[] wmState)
state
- the value to set current state.exState
- the value to set external state.gsState
- the value to set goal structure state.wmState
- the value to set working memory state.public abstract void setCurrentTime(int curTime)
curTime
- the time to set.public abstract void reasoning()
public abstract void update(boolean posFlag)
posFlag
- indicates current step is successful or not.public abstract void update(double reward)
reward
- reinforement received by current step.public abstract void calcRT(int AT)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |