|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Learnable
An Activatible that additionally has a base-level activation. It is used mostly for learning. The classes that implement this interface have a decay and reinforce base level activation. If the base level activation reaches zero, the element should be deleted (decay away)
Field Summary | |
---|---|
static double |
DEFAULT_BASE_LEVEL_ACTIVATION
Default base-level activation for Learnable |
static double |
DEFAULT_LEARNABLE_REMOVAL_THRESHOLD
Default removal threshold for Learnable |
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION |
Method Summary | |
---|---|
void |
decayBaseLevelActivation(long ticks)
decay the Base Level activation using the decay strategy. |
double |
getBaseLevelActivation()
Returns base level activation. |
DecayStrategy |
getBaseLevelDecayStrategy()
Gets decay strategy for the Base Level activation |
ExciteStrategy |
getBaseLevelExciteStrategy()
Gets BaseLevelExciteStrategy |
double |
getLearnableRemovalThreshold()
Gets learnableRemovalThreshold |
TotalActivationStrategy |
getTotalActivationStrategy()
Returns TotalActivationStrategy |
void |
reinforceBaseLevelActivation(double amount)
The Base Level activation of this node is increased using the excitation value as a parameter for the ExciteStrategy. |
void |
setBaseLevelActivation(double amount)
Set base level activation. |
void |
setBaseLevelDecayStrategy(DecayStrategy strategy)
Sets decay strategy for the Base Level activation |
void |
setBaseLevelExciteStrategy(ExciteStrategy strategy)
Sets BaseLevelExciteStrategy |
void |
setBaseLevelRemovalThreshold(double threshold)
Sets learnableRemovalThreshold |
void |
setTotalActivationStrategy(TotalActivationStrategy strategy)
Sets TotalActivationStrategy |
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible |
---|
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy |
Field Detail |
---|
static final double DEFAULT_LEARNABLE_REMOVAL_THRESHOLD
static final double DEFAULT_BASE_LEVEL_ACTIVATION
Method Detail |
---|
double getBaseLevelActivation()
void setBaseLevelActivation(double amount)
reinforceBaseLevelActivation(double)
instead.
amount
- new base level activation amountvoid reinforceBaseLevelActivation(double amount)
amount
- the value to be used to increase the Base Level activation of
this nodevoid decayBaseLevelActivation(long ticks)
ticks
- the number of ticks to decayvoid setBaseLevelExciteStrategy(ExciteStrategy strategy)
strategy
- the Excite strategy for the current activation.ExciteStrategy getBaseLevelExciteStrategy()
void setBaseLevelDecayStrategy(DecayStrategy strategy)
strategy
- the decay strategy for the Base Level activation.DecayStrategy getBaseLevelDecayStrategy()
void setBaseLevelRemovalThreshold(double threshold)
threshold
- threshold for removal of this Learnabledouble getLearnableRemovalThreshold()
TotalActivationStrategy getTotalActivationStrategy()
TotalActivationStrategy
void setTotalActivationStrategy(TotalActivationStrategy strategy)
TotalActivationStrategy
strategy
- Strategy this Learnable uses to calculate total activation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |