|
||||||||||
| 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.BoltzmannLogic
public class BoltzmannLogic
Provides the neural logic for an Boltzmann type network. See BoltzmannPattern for more information on this type of network.
| Field Summary | |
|---|---|
static String |
PROPERTY_ANNEAL_CYCLES
Neural network property, the number of annealing cycles to run. |
static String |
PROPERTY_RUN_CYCLES
Neural network property, the number of cycles to run. |
static String |
PROPERTY_TEMPERATURE
Neural network property, the temperature. |
| Constructor Summary | |
|---|---|
BoltzmannLogic()
|
|
| Method Summary | |
|---|---|
NeuralData |
compute(NeuralData input,
NeuralOutputHolder useHolder)
Setup the network logic, read parameters from the network. |
void |
decreaseTemperature(double d)
Decrease the temperature by the specified amount. |
void |
establishEquilibrium()
Run the network until thermal equilibrium is established. |
double |
getTemperature()
|
void |
init(BasicNetwork network)
Setup the network logic, read parameters from the network. |
void |
run()
Run the network for all neurons present. |
void |
setTemperature(double temperature)
Set the network temperature. |
| Methods inherited from class org.encog.neural.networks.logic.ThermalLogic |
|---|
calculateEnergy, clear, getCurrentState, getNeuronCount, getThermalLayer, getThermalSynapse, setCurrentState |
| Methods inherited from class org.encog.neural.networks.logic.SimpleRecurrentLogic |
|---|
preprocessLayer |
| Methods inherited from class org.encog.neural.networks.logic.FeedforwardLogic |
|---|
getNetwork |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_RUN_CYCLES
public static final String PROPERTY_ANNEAL_CYCLES
public static final String PROPERTY_TEMPERATURE
| Constructor Detail |
|---|
public BoltzmannLogic()
| Method Detail |
|---|
public NeuralData compute(NeuralData input,
NeuralOutputHolder useHolder)
compute in interface NeuralLogiccompute in class FeedforwardLogicinput - NOT USEDuseHolder - NOT USED
public void decreaseTemperature(double d)
d - The amount to decrease by.public void establishEquilibrium()
public double getTemperature()
public void init(BasicNetwork network)
init in interface NeuralLogicinit in class ThermalLogicnetwork - The network that this logic class belongs to.public void run()
public void setTemperature(double temperature)
temperature - The temperature to operate the network at.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||