public class BCMTermination extends PlasticEnsembleTermination
myFilteredInput, myFilteredOutput, myInput, myLearning, myLearningRate, myOriginName, myOutput
Constructor and Description |
---|
BCMTermination(Node node,
java.lang.String name,
PlasticNodeTermination[] nodeTerminations,
float[] initialTheta) |
Modifier and Type | Method and Description |
---|---|
PlasticEnsembleTermination |
clone() |
float[] |
getTheta() |
void |
reset(boolean randomize) |
void |
updateTransform(float time,
int start,
int end) |
clone, 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 BCMTermination(Node node, java.lang.String name, PlasticNodeTermination[] nodeTerminations, float[] initialTheta) throws StructuralException
StructuralException
public float[] getTheta()
public void reset(boolean randomize)
reset
in interface Resettable
reset
in class PlasticEnsembleTermination
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
- ifpublic PlasticEnsembleTermination clone() throws java.lang.CloneNotSupportedException
clone
in interface Termination
clone
in class EnsembleTermination
java.lang.CloneNotSupportedException
- if clone can't be made