ca.nengo.model.nef.impl
Class BiasTermination

java.lang.Object
  extended by ca.nengo.model.nef.impl.DecodedTermination
      extended by ca.nengo.model.nef.impl.BiasTermination
All Implemented Interfaces:
Probeable, Resettable, Termination, java.io.Serializable, java.lang.Cloneable

public class BiasTermination
extends DecodedTermination

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.nengo.model.nef.impl.DecodedTermination
OUTPUT
 
Constructor Summary
BiasTermination(Node node, java.lang.String name, java.lang.String baseName, LinearSystem dynamics, Integrator integrator, float[] biasEncoders, boolean interneurons)
           
 
Method Summary
 java.lang.String getBaseTerminationName()
           
 float[] getBiasEncoders()
           
 float[] getOutput()
          This method should be called after run(...).
 boolean isEnabled()
           
 void setEnabled(boolean enable)
           
 
Methods inherited from class ca.nengo.model.nef.impl.DecodedTermination
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
 

Constructor Detail

BiasTermination

public BiasTermination(Node node,
                       java.lang.String name,
                       java.lang.String baseName,
                       LinearSystem dynamics,
                       Integrator integrator,
                       float[] biasEncoders,
                       boolean interneurons)
                throws StructuralException
Throws:
StructuralException
Method Detail

getBaseTerminationName

public java.lang.String getBaseTerminationName()

getBiasEncoders

public float[] getBiasEncoders()

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(...)