public class KohonenNeuronWithTired extends KohonenNeuron implements TiredNeuronModel
distanceFunctionactivationFunction, 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, toStringchangeNeuronWeight, getActivationFunction, getWeight, setActivationFunction, setWeight, valueTimesWeightsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchangeNeuronWeight, changeNeuronWeight, getValue, getWeight, setWeightpublic 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 TiredNeuronModeltiredness - tirednesspublic int getTiredness()
getTiredness in interface TiredNeuronModel