Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.neural.pattern
Class BoltzmannPattern

    java.lang.Object
      org.encog.neural.pattern.BoltzmannPattern

All Implemented Interfaces:
  NeuralNetworkPattern

    public class BoltzmannPattern

extends Object
implements NeuralNetworkPattern

Pattern to create a Boltzmann machine.

Constructor Summary
`BoltzmannPattern()`

Method Summary
`void` | `addHiddenLayer(int count)` Not supported, will throw an exception, Boltzmann networks have no hidden layers.
`void` | `clear()` Clear any properties set on this network.
`MLMethod` | `generate()` Generate the network.
`int` | `getAnnealCycles()`
`int` | `getRunCycles()`
`double` | `getTemperature()`
`void` | `setActivationFunction(ActivationFunction activation)` Not used, will throw an exception.
`void` | `setAnnealCycles(int annealCycles)` Set the number of annealing cycles per run.
`void` | `setInputNeurons(int count)` Set the number of input neurons.
`void` | `setOutputNeurons(int count)` Set the number of output neurons.
`void` | `setRunCycles(int runCycles)` Set the number of cycles per run.
`void` | `setTemperature(double temperature)` Set the temperature.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BoltzmannPattern

    public BoltzmannPattern()

Method Detail

### addHiddenLayer

    public final void addHiddenLayer(int count)

  Not supported, will throw an exception, Boltzmann networks have no hidden layers.

  Specified by:
    `addHiddenLayer` in interface `NeuralNetworkPattern`
  Parameters:
    `count` - Not used.

### clear

    public final void clear()

  Clear any properties set on this network.

  Specified by:
    `clear` in interface `NeuralNetworkPattern`

### generate

    public final MLMethod generate()

  Generate the network.

  Specified by:
    `generate` in interface `NeuralNetworkPattern`
  Returns:
    The generated network.

### getAnnealCycles

    public final int getAnnealCycles()

  Returns:
    The number of annealing cycles per run.

### getRunCycles

    public final int getRunCycles()

  Returns:
    The number of cycles per run.

### getTemperature

    public final double getTemperature()

  Returns:
    The temperature.

### setActivationFunction

    public final void setActivationFunction(ActivationFunction activation)

  Not used, will throw an exception.

  Specified by:
    `setActivationFunction` in interface `NeuralNetworkPattern`
  Parameters:
    `activation` - Not used.

### setAnnealCycles

    public final void setAnnealCycles(int annealCycles)

  Set the number of annealing cycles per run.

  Parameters:
    `annealCycles` - The new value.

### setInputNeurons

    public final void setInputNeurons(int count)

  Set the number of input neurons. This is the same as the number of output neurons.

  Specified by:
    `setInputNeurons` in interface `NeuralNetworkPattern`
  Parameters:
    `count` - The number of input neurons.

### setOutputNeurons

    public final void setOutputNeurons(int count)

  Set the number of output neurons. This is the same as the number of input neurons.

  Specified by:
    `setOutputNeurons` in interface `NeuralNetworkPattern`
  Parameters:
    `count` - The number of output neurons.

### setRunCycles

    public final void setRunCycles(int runCycles)

  Set the number of cycles per run.

  Parameters:
    `runCycles` - The new value.

### setTemperature

    public final void setTemperature(double temperature)

  Set the temperature.

  Parameters:
    `temperature` - The new value.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.