Nengo.ca

ca.nengo.model.neuron.impl
Class GruberNeuronFactory

java.lang.Object
  extended by ca.nengo.model.neuron.impl.GruberNeuronFactory
All Implemented Interfaces:
NodeFactory, java.io.Serializable

public class GruberNeuronFactory
extends java.lang.Object
implements NodeFactory

Creates GruberNeurons

See Also:
Serialized Form

Nested Class Summary
static class GruberNeuronFactory.GruberNeuron
          Class representing the actual neuron
 
Field Summary
static java.lang.String DOPAMINE
          Name of distinguished dopamine termination.
 
Constructor Summary
GruberNeuronFactory(PDF scale, PDF bias)
           
 
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
 

Field Detail

DOPAMINE

public static final java.lang.String DOPAMINE
Name of distinguished dopamine termination.

See Also:
Constant Field Values
Constructor Detail

GruberNeuronFactory

public GruberNeuronFactory(PDF scale,
                           PDF bias)
Parameters:
scale - PDF to pick neuron scale from
bias - PDF to pick neuron bias from
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

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