ca.nengo.model.neuron.impl
Class SpikingNeuronFactory

java.lang.Object
  extended by 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

Constructor Summary
SpikingNeuronFactory(SynapticIntegratorFactory intFact, SpikeGeneratorFactory genFact, PDF scale, PDF bias)
           
 
Method Summary
 SpikeGeneratorFactory getGeneratorFactory()
           
 SynapticIntegratorFactory getIntegratorFactory()
           
 java.lang.String getTypeDescription()
           
static void main(java.lang.String[] args)
           
 Node make(java.lang.String name)
           
 void setGeneratorFactory(SpikeGeneratorFactory factory)
           
 void setIntegratorFactory(SynapticIntegratorFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpikingNeuronFactory

public SpikingNeuronFactory(SynapticIntegratorFactory intFact,
                            SpikeGeneratorFactory genFact,
                            PDF scale,
                            PDF bias)
Method Detail

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)