ca.nengo.model.nef.impl
Class BiasTermination
java.lang.Object
ca.nengo.model.nef.impl.DecodedTermination
ca.nengo.model.nef.impl.BiasTermination
- All Implemented Interfaces:
- Probeable, Resettable, Termination, java.io.Serializable, java.lang.Cloneable
public class BiasTermination
- extends DecodedTermination
Termination which is somehow used in the Bias process?
TODO: Figure out where this is used and why.
- See Also:
- Serialized Form
Methods inherited from class ca.nengo.model.nef.impl.DecodedTermination |
clone, clone, getDimensions, getDynamics, getHistory, getInitialState, getInput, getModulatory, getName, getNode, getScaling, getStaticBias, getTau, getTransform, listStates, reset, run, setDynamics, setInitialState, setModulatory, setNode, setScaling, setStaticBias, setTau, setTransform, setValues |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BiasTermination
public BiasTermination(Node node,
java.lang.String name,
java.lang.String baseName,
LinearSystem dynamics,
Integrator integrator,
float[] biasEncoders,
boolean interneurons)
throws StructuralException
- Parameters:
node
- Parent nodename
- Termination namebaseName
- Original termination name?dynamics
- Linear system that defines dynamicsintegrator
- Integrator to integrate dynamicsbiasEncoders
- biased encoders?interneurons
- Is parent a population of interneurons...?
- Throws:
StructuralException
- if DecodedTermination can't be made
getBaseTerminationName
public java.lang.String getBaseTerminationName()
- Returns:
- Underlying termination name
getBiasEncoders
public float[] getBiasEncoders()
- Returns:
- biased encoders?
setEnabled
public void setEnabled(boolean enable)
- Parameters:
enable
- If true, the Termination is enabled; if false, it is disabled (so that inputs have no effect)
isEnabled
public boolean isEnabled()
- Returns:
- True if this Termination is enabled
getOutput
public float[] getOutput()
- Description copied from class:
DecodedTermination
- This method should be called after run(...).
- Overrides:
getOutput
in class DecodedTermination
- Returns:
- Output of dynamical system -- of interest at end of run(...)