public class KohonenNeuronWithTired extends KohonenNeuron implements TiredNeuronModel
distanceFunction
activationFunction, learnFunction, weight
Constructor and Description |
---|
KohonenNeuronWithTired(double[] weightArray,
FunctionMetric distanceFunction,
FunctionLearn learnFunction,
FunctionActivate activationFunction)
Creates new kohonen neuron with weight specified by array and specified activation function.
|
KohonenNeuronWithTired(int weightNumber,
double[] maxWeight,
FunctionMetric distanceFunction,
FunctionLearn learnFunction,
FunctionActivate activationFunction)
Creates new kohonen neuron with specified numbers of weight.
|
Modifier and Type | Method and Description |
---|---|
int |
getTiredness()
Return value of tiredness
|
void |
setTiredness(int tiredness)
Set tiredness
|
changeNeuronWeight, getDistanceFunction, getLearnFunction, getValue, isBetter, setDistanceFunction, setLearnFunction, toString
changeNeuronWeight, getActivationFunction, getWeight, setActivationFunction, setWeight, valueTimesWeights
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
changeNeuronWeight, changeNeuronWeight, getValue, getWeight, setWeight
public KohonenNeuronWithTired(int weightNumber, double[] maxWeight, FunctionMetric distanceFunction, FunctionLearn learnFunction, FunctionActivate activationFunction)
weightNumber
- numbers of weightmaxWeight
- max value of the weightdistanceFunction
- distance function.learnFunction
- reference to learning functionactivationFunction
- activation functionpublic KohonenNeuronWithTired(double[] weightArray, FunctionMetric distanceFunction, FunctionLearn learnFunction, FunctionActivate activationFunction)
weightArray
- array of the weightdistanceFunction
- distance function.learnFunction
- reference to learning functionactivationFunction
- activation functionpublic void setTiredness(int tiredness)
setTiredness
in interface TiredNeuronModel
tiredness
- tirednesspublic int getTiredness()
getTiredness
in interface TiredNeuronModel