org.neuroph.nnet
Class Hopfield
java.lang.Object
java.util.Observable
org.neuroph.core.NeuralNetwork
org.neuroph.nnet.Hopfield
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Runnable
public class Hopfield
- extends NeuralNetwork
The Hopfield class represents Hopfield neural network.
- 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 |
Hopfield(int neuronsNum)
Creates new Hopfield network with specified neuron number |
Hopfield(int neuronsNum,
NeuronProperties neuronProperties)
Creates new Hopfield network with specified neuron number and neuron
properties |
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 |
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
Hopfield
public Hopfield(int neuronsNum)
- Creates new Hopfield network with specified neuron number
- Parameters:
neuronsNum
- neurons number in Hopfied network
Hopfield
public Hopfield(int neuronsNum,
NeuronProperties neuronProperties)
- Creates new Hopfield network with specified neuron number and neuron
properties
- Parameters:
neuronsNum
- neurons number in Hopfied networkneuronProperties
- neuron properties
createNetwork
private void createNetwork(int neuronsNum,
NeuronProperties neuronProperties)
- Creates Hopfield network architecture
- Parameters:
neuronsNum
- neurons number in Hopfied networkneuronProperties
- neuron properties