public class PreLearnTermination extends ModulatedPlasticEnsembleTermination
myFilteredModInput, myModInput, myModTermName
myFilteredInput, myFilteredOutput, myInput, myLearning, myLearningRate, myOriginName, myOutput
Constructor and Description |
---|
PreLearnTermination(NEFEnsemble ensemble,
java.lang.String name,
PlasticNodeTermination[] nodeTerminations) |
Modifier and Type | Method and Description |
---|---|
PreLearnTermination |
clone() |
void |
reset(boolean randomize) |
void |
updateTransform(float time,
int start,
int end) |
clone, getModTermName, setModTerminationState, setModTermName
getFilteredOutput, getInput, getLearning, getLearningRate, getOriginName, getOutputs, getTransform, modifyTransform, saveTransform, setLearning, setLearningRate, setOriginName, setOriginState, setTerminationState, setTransform, updateFiltered, updateRaw
getDimensions, getModulatory, getName, getNode, getNodeTerminations, getTau, setModulatory, setTau, setValues
public PreLearnTermination(NEFEnsemble ensemble, java.lang.String name, PlasticNodeTermination[] nodeTerminations) throws StructuralException
ensemble
- The ensemble this termination belongs toname
- Name of this TerminationnodeTerminations
- Node-level Terminations that make up this Termination. Must be
all LinearExponentialTerminationsStructuralException
- If dimensions of different terminations are not all the samepublic void reset(boolean randomize)
reset
in interface Resettable
reset
in class ModulatedPlasticEnsembleTermination
randomize
- True indicates that the object should be reset to a
randomly selected initial state (the object must be aware of the
distribution from which to draw from). False indicates that the
object should be reset to a fixed initial state (which it must
also know). Some objects may not support randomization of the initial
state, in which case a fixed state will be used in either case.Resettable.reset(boolean)
public void updateTransform(float time, int start, int end) throws StructuralException
updateTransform
in class PlasticEnsembleTermination
time
- Current timestart
- The start index of the range of transform values to update (for multithreading)end
- The end index of the range of transform values to update (for multithreading)StructuralException
- ifPlasticEnsembleTermination.updateTransform(float, int, int)
public PreLearnTermination clone() throws java.lang.CloneNotSupportedException
clone
in interface Termination
clone
in class EnsembleTermination
java.lang.CloneNotSupportedException
- if clone can't be made