|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.interfaces.Neuron
org.simnet.neurons.NakaRushtonNeuron
public class NakaRushtonNeuron
NakaRushtonNeuron is a firing-rate based neuron which is intended to model spike rates of real neurons. It is used extensively in Hugh Wilson's Spikes, Decisions, and Action.
| Field Summary |
|---|
| Fields inherited from class org.simnet.interfaces.Neuron |
|---|
activation, fanIn, fanOut, lowerBound, upperBound |
| Constructor Summary | |
|---|---|
NakaRushtonNeuron()
Default constructor. |
|
NakaRushtonNeuron(Neuron n)
This constructor is used when creating a neuron of one type from another neuron of another type Only values common to different types of neuron are copied. |
|
| Method Summary | |
|---|---|
void |
clear()
Set activation to 0; override for other "clearing" behavior. |
Neuron |
duplicate()
|
double |
getAdaptationParameter()
Return the adaptation parameter. |
double |
getAdaptationTimeConstant()
|
boolean |
getAddNoise()
|
static String |
getName()
|
RandomSource |
getNoiseGenerator()
|
double |
getSemiSaturationConstant()
|
double |
getSteepness()
|
double |
getTimeConstant()
|
int |
getTimeType()
|
String |
getToolTipText()
Returns string for tool tip or short description. |
boolean |
getUseAdaptation()
|
void |
init()
Initializes values for Naka Rushton neuron type. |
void |
setAdaptationParameter(double adaptationParameter)
Sets the adaptation parameter. |
void |
setAdaptationTimeConstant(double adaptationTimeConstant)
Sets the adaptation time constant. |
void |
setAddNoise(boolean addNoise)
|
void |
setNoiseGenerator(RandomSource noiseGenerator)
|
void |
setSemiSaturationConstant(double semiSaturationConstant)
|
void |
setSteepness(double steepness)
|
void |
setTimeConstant(double timeConstant)
|
void |
setUseAdaptation(boolean useAdaptation)
Sets the boolean use adaptation value. |
void |
update()
See Spikes (Hugh Wilson), pp. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NakaRushtonNeuron()
public NakaRushtonNeuron(Neuron n)
n - Neuron to be created| Method Detail |
|---|
public int getTimeType()
getTimeType in class Neuronpublic void init()
public Neuron duplicate()
duplicate in class Neuronpublic void update()
update in class Neuronpublic double getSemiSaturationConstant()
public void setSemiSaturationConstant(double semiSaturationConstant)
semiSaturationConstant - The semiSaturationConstant to set.public double getSteepness()
public void setSteepness(double steepness)
steepness - The steepness to set.public double getTimeConstant()
public void setTimeConstant(double timeConstant)
timeConstant - The timeConstant to set.public static String getName()
public boolean getAddNoise()
public void setAddNoise(boolean addNoise)
addNoise - The addNoise to set.public RandomSource getNoiseGenerator()
public void setNoiseGenerator(RandomSource noiseGenerator)
noiseGenerator - The noiseGenerator to set.public boolean getUseAdaptation()
public void setUseAdaptation(boolean useAdaptation)
useAdaptation - Value to set use adaptation topublic double getAdaptationTimeConstant()
public void setAdaptationTimeConstant(double adaptationTimeConstant)
adaptationTimeConstant - Value to set adaptation time constantpublic void clear()
Neuron
clear in class NeuronNeuronpublic String getToolTipText()
Neuron
getToolTipText in class NeuronNeuronpublic double getAdaptationParameter()
public void setAdaptationParameter(double adaptationParameter)
adaptationParameter - value to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||