Nengo.ca

ca.nengo.model.neuron.impl
Class PoissonSpikeGenerator.LinearNeuronFactory

java.lang.Object
  extended by ca.nengo.model.neuron.impl.PoissonSpikeGenerator.LinearNeuronFactory
All Implemented Interfaces:
NodeFactory, java.io.Serializable
Enclosing class:
PoissonSpikeGenerator

public static class PoissonSpikeGenerator.LinearNeuronFactory
extends java.lang.Object
implements NodeFactory

A factory for neurons with linear or rectified linear response functions.

See Also:
Serialized Form

Constructor Summary
PoissonSpikeGenerator.LinearNeuronFactory(PDF maxRate, PDF intercept, boolean rectified)
           
 
Method Summary
 java.lang.String getTypeDescription()
           
 Node make(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoissonSpikeGenerator.LinearNeuronFactory

public PoissonSpikeGenerator.LinearNeuronFactory(PDF maxRate,
                                                 PDF intercept,
                                                 boolean rectified)
Parameters:
maxRate - PDF for maximum spike rate
intercept - PDF for x-intercept
rectified - Rectify the curve?
Method Detail

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)

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

Nengo.ca