Neuroph

org.neuroph.nnet
Class HebbianNetwork

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

public class HebbianNetwork
extends NeuralNetwork

The HebbianNetwork class that represents Hebbian neural network with Hebbian learning algorithm.

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
HebbianNetwork(int inputNeuronsNum, int outputNeuronsNum)
          Creates new Hebian net with specified number neurons in input and output layer
HebbianNetwork(int inputNeuronsNum, int outputNeuronsNum, TransferFunctionType transferFunctionType)
          Creates new Hebbian net with specified number neurons in input layer, output layer and transfer function
 
Method Summary
private  void createNetwork(int inputNeuronsNum, int outputNeuronsNum, TransferFunctionType transferFunctionType)
          Creates Hebbian network with specified number of neurons in input layer, output layer and transfer function
 
Methods inherited from class org.neuroph.core.NeuralNetwork
addLayer, addLayer, addPlugin, calculate, createConnection, getInputNeurons, getLayerAt, getLayers, getLayersCount, getLayersIterator, getLearningRule, getNetworkType, getOutput, getOutputNeurons, getPlugin, indexOf, learn, load, notifyChange, randomizeWeights, removeLayer, removeLayerAt, removePlugin, reset, run, save, 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

HebbianNetwork

public HebbianNetwork(int inputNeuronsNum,
                      int outputNeuronsNum)
Creates new Hebian net with specified number neurons in input and output layer

Parameters:
inputNeuronsNum - number of neurons in input layer
outputNeuronsNum - number of neurons in output layer

HebbianNetwork

public HebbianNetwork(int inputNeuronsNum,
                      int outputNeuronsNum,
                      TransferFunctionType transferFunctionType)
Creates new Hebbian net with specified number neurons in input layer, output layer and transfer function

Parameters:
inputNeuronsNum - number of neurons in input layer
outputNeuronsNum - number of neurons in output layer
transferFunctionType - transfer function type id
Method Detail

createNetwork

private void createNetwork(int inputNeuronsNum,
                           int outputNeuronsNum,
                           TransferFunctionType transferFunctionType)
Creates Hebbian network with specified number of neurons in input layer, output layer and transfer function

Parameters:
inputNeuronsNum - number of neurons in input layer
outputNeuronsNum - number of neurons in output layer
transferFunctionType - transfer function type

Neuroph