org.encog.neural.networks
Class NeuralOutputHolder

java.lang.Object
  extended by org.encog.neural.networks.NeuralOutputHolder

public class NeuralOutputHolder
extends Object

Holds the output from each layer of the neural network. This is very useful for the propagation algorithms that need to examine the output of each individual layer.

Author:
jheaton

Constructor Summary
NeuralOutputHolder()
          Construct an empty holder.
 
Method Summary
 NeuralData getOutput()
           
 Map<Synapse,NeuralData> getResult()
           
 void setOutput(NeuralData output)
          Set the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeuralOutputHolder

public NeuralOutputHolder()
Construct an empty holder.

Method Detail

getOutput

public NeuralData getOutput()
Returns:
The output from the neural network.

getResult

public Map<Synapse,NeuralData> getResult()
Returns:
The result from the synapses in a map.

setOutput

public void setOutput(NeuralData output)
Set the output.

Parameters:
output - The new output.


Copyright © 2011. All Rights Reserved.