public static enum NeuronUpdateRule.InputType extends java.lang.Enum<NeuronUpdateRule.InputType>
Modifier and Type | Method and Description |
---|---|
abstract double |
getInput(Neuron n)
Returns the total input to a neuron using either a post-synaptic
response value calculated from each synapse and derived from the
spike-train of the pre-synaptic neuron or a simple weighted sum of
the product of the synapse values and their respective source
neurons.
|
abstract double[] |
getNormalizedSeparatedInput(Neuron n) |
abstract double[] |
getSeparatedInput(Neuron n)
Returns the total excitatory and inhibitory inputs to a neuron
separated.
|
static NeuronUpdateRule.InputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeuronUpdateRule.InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeuronUpdateRule.InputType WEIGHTED
public static final NeuronUpdateRule.InputType SYNAPTIC
public static NeuronUpdateRule.InputType[] values()
for (NeuronUpdateRule.InputType c : NeuronUpdateRule.InputType.values()) System.out.println(c);
public static NeuronUpdateRule.InputType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract double getInput(Neuron n)
n
- public abstract double[] getSeparatedInput(Neuron n)
getInput(Neuron)
.n
- public abstract double[] getNormalizedSeparatedInput(Neuron n)