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

Two layer neural network with competitive learning rule.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
CompetitiveNetwork(int inputNeuronsCount, int outputNeuronsCount)
          Creates new competitive network with specified neuron number
 
Method Summary
 
Methods inherited from class org.neuroph.core.NeuralNetwork
addLayer, addLayer, addPlugin, calculate, createConnection, getInputNeurons, getLayerAt, getLayers, getLayersCount, getLayersIterator, getLearningRule, getLearningThread, getNetworkType, getOutput, getOutputAsArray, getOutputNeurons, getPlugin, indexOf, learn, learnInNewThread, learnInNewThread, learnInSameThread, learnInSameThread, load, load, notifyChange, pauseLearning, randomizeWeights, removeLayer, removeLayerAt, removePlugin, reset, resumeLearning, 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
 

Constructor Detail

CompetitiveNetwork

public CompetitiveNetwork(int inputNeuronsCount,
                          int outputNeuronsCount)
Creates new competitive network with specified neuron number

Parameters:
inputNeuronsCount - number of input neurons
outputNeuronsCount - number of output neurons