|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Scheme
A Scheme consists of a Context, an Action and a Result.
A scheme is activated in the presence of its context. If its action is taken
then its result is more likely to be true.
It can be instantiated in which case the instantiation is called a Behavior.
| Field Summary |
|---|
| Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Learnable |
|---|
DEFAULT_BASE_LEVEL_ACTIVATION, DEFAULT_LEARNABLE_REMOVAL_THRESHOLD |
| Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
|---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
| Method Summary | |
|---|---|
void |
actionExecuted()
Called when Scheme's action is executed Scheme should update the number of times its action has been executed in order to calculate reliability. |
void |
actionSuccessful()
Called when Scheme's action produces expected result. |
boolean |
addCondition(Condition c,
ProceduralMemoryImpl.ConditionType type)
Adds the context condition. |
int |
getNumExecutions()
Gets the number of executions |
double |
getReliability()
Returns reliability |
boolean |
isInnate()
|
boolean |
isReliable()
|
void |
setAction(Action a)
Sets action |
void |
setInnate(boolean innate)
Sets innate |
| Methods inherited from interface edu.memphis.ccrg.lida.proceduralmemory.ProceduralUnit |
|---|
getAction, getAddingList, getContextConditions, getDeletingList, getId, getLabel, setId, setLabel |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Learnable |
|---|
decayBaseLevelActivation, getBaseLevelActivation, getBaseLevelDecayStrategy, getBaseLevelExciteStrategy, getLearnableRemovalThreshold, getTotalActivationStrategy, reinforceBaseLevelActivation, setBaseLevelActivation, setBaseLevelDecayStrategy, setBaseLevelExciteStrategy, setBaseLevelRemovalThreshold, setTotalActivationStrategy |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
|---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable |
|---|
containsParameter, getParam, getParameters, init, init |
| Method Detail |
|---|
void setAction(Action a)
a - Action this unit contains
boolean addCondition(Condition c,
ProceduralMemoryImpl.ConditionType type)
c - the conditiontype - the usage type of the condition
ProceduralMemoryImpl.ConditionTypevoid actionExecuted()
int getNumExecutions()
void actionSuccessful()
double getReliability()
Action is taken.boolean isReliable()
void setInnate(boolean innate)
innate - whether this Scheme is hard-wired and cannot be decayed.boolean isInnate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||