|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.logic.FeedforwardLogic
org.encog.neural.networks.logic.SimpleRecurrentLogic
org.encog.neural.networks.logic.ThermalLogic
org.encog.neural.networks.logic.HopfieldLogic
public class HopfieldLogic
Provides the neural logic for an Hopfield type network. See HopfieldPattern for more information on this type of network.
| Constructor Summary | |
|---|---|
HopfieldLogic()
|
|
| Method Summary | |
|---|---|
void |
addPattern(NeuralData pattern)
Train the neural network for the specified pattern. |
void |
run()
Perform one Hopfield iteration. |
int |
runUntilStable(int max)
Run the network until it becomes stable and does not change from more runs. |
| Methods inherited from class org.encog.neural.networks.logic.ThermalLogic |
|---|
calculateEnergy, clear, getCurrentState, getNeuronCount, getThermalLayer, getThermalSynapse, init, setCurrentState |
| Methods inherited from class org.encog.neural.networks.logic.SimpleRecurrentLogic |
|---|
preprocessLayer |
| Methods inherited from class org.encog.neural.networks.logic.FeedforwardLogic |
|---|
compute, getNetwork |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HopfieldLogic()
| Method Detail |
|---|
public void addPattern(NeuralData pattern)
pattern - The pattern to train for.public void run()
public int runUntilStable(int max)
max - The maximum number of cycles to run before giving up.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||