Neuroph

org.neuroph.nnet
Class CompetitiveNetwork

java.lang.Object
  extended by java.util.Observable
      extended by org.neuroph.core.NeuralNetwork
          extended by org.neuroph.nnet.CompetitiveNetwork
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class CompetitiveNetwork
extends NeuralNetwork

The CompetitiveNetwork class represents neural network with competitive learning rule.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
Constructor Summary
CompetitiveNetwork(int inputNeuronsNum, int outputNeuronsNum)
          Creates new competitive network with specified neuron number
 
Method Summary
private  void createNetwork(int inputNeuronsNum, int outputNeuronsNum)
          Creates Competitive network architecture
 
Methods inherited from class org.neuroph.core.NeuralNetwork
addLayer, addLayer, addPlugin, calculate, createConnection, getInputNeurons, getLayerAt, getLayers, getLayersCount, getLayersIterator, getLearningRule, getNetworkType, getOutput, getOutputAsArray, getOutputNeurons, getPlugin, indexOf, learn, load, notifyChange, randomizeWeights, removeLayer, removeLayerAt, removePlugin, reset, run, save, setInput, setInput, setInputNeurons, setLearningRule, setNetworkType, setOutputNeurons, stopLearning, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values
Constructor Detail

CompetitiveNetwork

public CompetitiveNetwork(int inputNeuronsNum,
                          int outputNeuronsNum)
Creates new competitive network with specified neuron number

Parameters:
neuronNum - neuron number in competitive network
Method Detail

createNetwork

private void createNetwork(int inputNeuronsNum,
                           int outputNeuronsNum)
Creates Competitive network architecture

Parameters:
neuronNum - neuron number in network
neuronProperties - neuron properties

Neuroph