public class CompetitiveLayer extends Layer
| Constructor and Description |
|---|
CompetitiveLayer(int neuronNum,
NeuronProperties neuronProperties)
Create an instance of CompetitiveLayer with the specified number of
neurons with neuron properties
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculate()
Performs calculaton for all neurons in this layer
|
int |
getMaxIterations()
Returns the maxIterations setting for this layer
|
CompetitiveNeuron |
getWinner()
Returns the winning neuron for this layer
|
void |
setMaxIterations(int maxIterations)
Sets max iterations for neurons to compete in this layer
|
addNeuron, addNeuron, getLabel, getNeuronAt, getNeurons, getNeuronsCount, getParentNetwork, indexOf, initializeWeights, isEmpty, iterator, removeAllNeurons, removeNeuron, removeNeuronAt, reset, setLabel, setNeuron, setParentNetworkclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic CompetitiveLayer(int neuronNum,
NeuronProperties neuronProperties)
neuronNum - neuron number in this layerneuronProperties - properties for the nurons in this layerpublic void calculate()
public CompetitiveNeuron getWinner()
public int getMaxIterations()
public void setMaxIterations(int maxIterations)
maxIterations - max iterations for neurons to compete in this layerCopyright © 2019 Neuroph Project. All rights reserved.