Nengo.ca

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

Termination which is somehow used in the Bias process? TODO: Figure out where this is used and why.

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, 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
Parameters:
node - Parent node
name - Termination name
baseName - Original termination name?
dynamics - Linear system that defines dynamics
integrator - Integrator to integrate dynamics
biasEncoders - biased encoders?
interneurons - Is parent a population of interneurons...?
Throws:
StructuralException - if DecodedTermination can't be made
Method Detail

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

Nengo.ca