|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DecayStrategy
A strategy pattern for decaying Activatibles or Learnables
Implementations should add themselves to ElementFactory via the
factoriesData.xml configuration file.
| Method Summary | |
|---|---|
double |
decay(double currentActivation,
long ticks,
java.util.Map<java.lang.String,? extends java.lang.Object> params)
Decays the current activation according to some internal decay function. |
double |
decay(double currentActivation,
long ticks,
java.lang.Object... params)
Decays the current activation according to some internal decay function. |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable |
|---|
containsParameter, getParam, getParameters, init, init |
| Method Detail |
|---|
double decay(double currentActivation,
long ticks,
java.lang.Object... params)
currentActivation - activation of the entity before decay.ticks - The number of ticks to decay.params - optional parameters
double decay(double currentActivation,
long ticks,
java.util.Map<java.lang.String,? extends java.lang.Object> params)
currentActivation - activation of the entity before decay.ticks - how much time has passed since last decayparams - parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||