ca.nengo.model.neuron.impl
Class SpikingNeuronFactory
java.lang.Object
ca.nengo.model.neuron.impl.SpikingNeuronFactory
- All Implemented Interfaces:
- NodeFactory, java.io.Serializable
public class SpikingNeuronFactory
- extends java.lang.Object
- implements NodeFactory
Creates spiking neurons by delegating to a SynapticIntegratorFactory and a
SpikeGeneratorFactory.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpikingNeuronFactory
public SpikingNeuronFactory(SynapticIntegratorFactory intFact,
SpikeGeneratorFactory genFact,
PDF scale,
PDF bias)
- Parameters:
intFact
- Synaptic integrator factorygenFact
- Spike generator factoryscale
- PDF for neuron gainbias
- PDF for bias current
getIntegratorFactory
public SynapticIntegratorFactory getIntegratorFactory()
- Returns:
- integrator factory
setIntegratorFactory
public void setIntegratorFactory(SynapticIntegratorFactory factory)
- Parameters:
factory
- integrator factory
getGeneratorFactory
public SpikeGeneratorFactory getGeneratorFactory()
- Returns:
- spike generator factory
setGeneratorFactory
public void setGeneratorFactory(SpikeGeneratorFactory factory)
- Parameters:
factory
- spike generator factory
getTypeDescription
public java.lang.String getTypeDescription()
- Specified by:
getTypeDescription
in interface NodeFactory
- Returns:
- A short description of the type of Node created by this factory
- See Also:
NodeFactory.getTypeDescription()
make
public Node make(java.lang.String name)
throws StructuralException
- Specified by:
make
in interface NodeFactory
- Parameters:
name
- The name of the Node (unique within containing Ensemble or Network)
- Returns:
- A new Node
- Throws:
StructuralException
- for any problem that prevents construction- See Also:
NodeFactory.make(java.lang.String)