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.
- Author:
- Bryan Tripp
- 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)
getIntegratorFactory
public SynapticIntegratorFactory getIntegratorFactory()
setIntegratorFactory
public void setIntegratorFactory(SynapticIntegratorFactory factory)
getGeneratorFactory
public SpikeGeneratorFactory getGeneratorFactory()
setGeneratorFactory
public void setGeneratorFactory(SpikeGeneratorFactory 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)
main
public static void main(java.lang.String[] args)