public class BiasTermination extends DecodedTermination
OUTPUT
Constructor and Description |
---|
BiasTermination(Node node,
java.lang.String name,
java.lang.String baseName,
LinearSystem dynamics,
Integrator integrator,
float[] biasEncoders,
boolean interneurons) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseTerminationName() |
float[] |
getBiasEncoders() |
float[] |
getOutput()
This method should be called after run(...).
|
boolean |
isEnabled() |
void |
setEnabled(boolean enable) |
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
public BiasTermination(Node node, java.lang.String name, java.lang.String baseName, LinearSystem dynamics, Integrator integrator, float[] biasEncoders, boolean interneurons) throws StructuralException
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...?StructuralException
- if DecodedTermination can't be madepublic java.lang.String getBaseTerminationName()
public float[] getBiasEncoders()
public void setEnabled(boolean enable)
enable
- If true, the Termination is enabled; if false, it is disabled (so that inputs have no effect)public boolean isEnabled()
public float[] getOutput()
DecodedTermination
getOutput
in class DecodedTermination