Nengo.ca

ca.nengo.model.neuron.impl
Class GruberNeuronFactory.GruberNeuron

java.lang.Object
  extended by ca.nengo.model.neuron.impl.SpikingNeuron
      extended by ca.nengo.model.neuron.impl.ExpandableSpikingNeuron
          extended by ca.nengo.model.neuron.impl.GruberNeuronFactory.GruberNeuron
All Implemented Interfaces:
ExpandableNode, NEFNode, Neuron, Node, Probeable, Resettable, SimulationMode.ModeConfigurable, VisiblyMutable, java.io.Serializable, java.lang.Cloneable
Enclosing class:
GruberNeuronFactory

public static class GruberNeuronFactory.GruberNeuron
extends ExpandableSpikingNeuron

Class representing the actual neuron

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface ca.nengo.util.VisiblyMutable
VisiblyMutable.Event, VisiblyMutable.Listener, VisiblyMutable.NameChangeEvent, VisiblyMutable.NodeRemovedEvent
 
Field Summary
 
Fields inherited from class ca.nengo.model.neuron.impl.SpikingNeuron
CURRENT
 
Fields inherited from interface ca.nengo.model.neuron.Neuron
AXON
 
Constructor Summary
GruberNeuronFactory.GruberNeuron(SynapticIntegrator integrator, GruberSpikeGenerator generator, float scale, float bias, java.lang.String name, LinearExponentialTermination dopamineTermination)
           
 
Method Summary
 void run(float startTime, float endTime)
          Runs the Node (including all its components), updating internal state and outputs as needed.
 
Methods inherited from class ca.nengo.model.neuron.impl.ExpandableSpikingNeuron
addTermination, clone, getDimension, getSynapticIntegrator, removeTermination
 
Methods inherited from class ca.nengo.model.neuron.impl.SpikingNeuron
addChangeListener, fireVisibleChangeEvent, getBias, getChildren, getDocumentation, getGenerator, getHistory, getIntegrator, getMode, getName, getNoise, getOrigin, getOrigins, getScale, getTermination, getTerminations, listStates, removeChangeListener, reset, setBias, setDocumentation, setGenerator, setIntegrator, setMode, setName, setNoise, setRadialInput, setScale, toScript
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.nengo.model.Node
getChildren, getDocumentation, getName, getOrigin, getOrigins, getTermination, getTerminations, setDocumentation, setName, toScript
 
Methods inherited from interface ca.nengo.model.Resettable
reset
 
Methods inherited from interface ca.nengo.model.SimulationMode.ModeConfigurable
getMode, setMode
 
Methods inherited from interface ca.nengo.util.VisiblyMutable
addChangeListener, removeChangeListener
 

Constructor Detail

GruberNeuronFactory.GruberNeuron

public GruberNeuronFactory.GruberNeuron(SynapticIntegrator integrator,
                                        GruberSpikeGenerator generator,
                                        float scale,
                                        float bias,
                                        java.lang.String name,
                                        LinearExponentialTermination dopamineTermination)
Parameters:
integrator - synaptic integrator
generator - generator object
scale - Neuron gain
bias - Neuron bias
name - Neuron name
dopamineTermination - Termination through which the dopamine signal is transmitted
Method Detail

run

public void run(float startTime,
                float endTime)
         throws SimulationException
Description copied from interface: Node
Runs the Node (including all its components), updating internal state and outputs as needed. Runs should be short (eg 1ms), because inputs can not be changed during a run, and outputs will only be communicated to other Nodes after a run.

Specified by:
run in interface Node
Overrides:
run in class SpikingNeuron
Parameters:
startTime - simulation time at which running starts (s)
endTime - simulation time at which running ends (s)
Throws:
SimulationException - if a problem is encountered while trying to run
See Also:
Node.run(float, float)

Nengo.ca