org.simnet.neurons
Class LogisticNeuron

java.lang.Object
  extended by org.simnet.interfaces.Neuron
      extended by org.simnet.neurons.LogisticNeuron
All Implemented Interfaces:
GaugeSource

public class LogisticNeuron
extends Neuron

LogisticNeuron.


Field Summary
 
Fields inherited from class org.simnet.interfaces.Neuron
activation, fanIn, fanOut, lowerBound, upperBound
 
Constructor Summary
LogisticNeuron()
          Default constructor needed for external calls which create neurons then set their parameters.
LogisticNeuron(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
 Neuron duplicate()
           
 double getGrowthRate()
           
static String getName()
           
 int getTimeType()
           
 void setGrowthRate(double growthRate)
           
 void update()
          TODO: Note that the inputs have to be within the neuron's bounds for behavior to be reasonable.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogisticNeuron

public LogisticNeuron()
Default constructor needed for external calls which create neurons then set their parameters.


LogisticNeuron

public LogisticNeuron(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 be created
Method Detail

getTimeType

public int getTimeType()
Specified by:
getTimeType in class Neuron
Returns:
Time type.

duplicate

public Neuron duplicate()
Specified by:
duplicate in class Neuron
Returns:
duplicate LogisticNeuron (used, e.g., in copy/paste).

update

public void update()
TODO: Note that the inputs have to be within the neuron's bounds for behavior to be reasonable.

Specified by:
update in class Neuron

getGrowthRate

public double getGrowthRate()
Returns:
Returns the firingProbability.

setGrowthRate

public void setGrowthRate(double growthRate)
Parameters:
growthRate - The growthRate to set.

getName

public static String getName()
Returns:
Name of neuron type.