org.simnet.neurons
Class RunningAverageNeuron
java.lang.Object
org.simnet.interfaces.Neuron
org.simnet.neurons.RunningAverageNeuron
- All Implemented Interfaces:
- GaugeSource
public class RunningAverageNeuron
- extends Neuron
RunningAverageNeuron.
|
Field Summary |
(package private) double |
val
|
|
Constructor Summary |
RunningAverageNeuron()
Default constructor needed for external calls which create neurons then set their parameters. |
RunningAverageNeuron(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. |
| Methods inherited from class org.simnet.interfaces.Neuron |
addActivation, addSource, addTarget, checkBounds, clear, clip, connectedToWeight, containsString, debug, decrementActivation, deleteConnectedSynapses, deleteFanIn, deleteFanOut, duplicate, getActivation, getAverageInput, getBuffer, getFanIn, getFanOut, getGaugeValue, getHelp, getId, getIncrement, getInputValue, getLowerBound, getMotorCoupling, getNeuronTypeIndex, getNumberOfActiveInputs, getParentNetwork, getSensoryCoupling, getSummedIncomingWeights, getToolTipText, getTotalInput, getType, getTypeList, getUpperBound, getWeightedInputs, getX, getY, incrementActivation, initCastor, isInput, isOutput, randomize, randomizeBuffer, round, setActivation, setBuffer, setFanIn, setFanOut, setId, setIncrement, setInputValue, setLowerBound, setMotorCoupling, setParentNetwork, setSensoryCoupling, setTypeList, setUpperBound, setX, setY, toString, updateConnectedOutward |
val
double val
RunningAverageNeuron
public RunningAverageNeuron()
- Default constructor needed for external calls which create neurons then set their parameters.
RunningAverageNeuron
public RunningAverageNeuron(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.
- Parameters:
n - Neuron to make the type
getTimeType
public int getTimeType()
- Specified by:
getTimeType in class Neuron
- Returns:
- time type.
duplicate
public Neuron duplicate()
- Returns a duplicate ClampedNeuron (used, e.g., in copy/paste).
- Specified by:
duplicate in class Neuron
- Returns:
- Duplicated neuron
update
public void update()
- Update neuron.
- Specified by:
update in class Neuron
getName
public static String getName()
- Returns:
- Name of neuron type.
getRateConstant
public double getRateConstant()
- Returns:
- Rate constant.
setRateConstant
public void setRateConstant(double rateConstant)
- Parameters:
rateConstant - Parameter to be set.