|
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.NeuralStructure
public class NeuralStructure
Holds "cached" information about the structure of the neural network. This is a very good performance boost since the neural network does not need to traverse itself each time a complete collection of layers or synapses is needed.
| Constructor Summary | |
|---|---|
NeuralStructure(BasicNetwork network)
Construct a structure object for the specified network. |
|
| Method Summary | |
|---|---|
void |
finalizeStructure()
Build the synapse and layer structure. |
java.util.List<Layer> |
getLayers()
|
BasicNetwork |
getNetwork()
|
java.util.Collection<Layer> |
getPreviousLayers(Layer targetLayer)
Get the previous layers from the specified layer. |
java.util.Collection<Synapse> |
getPreviousSynapses(Layer targetLayer)
Get the previous synapses. |
java.util.List<Synapse> |
getSynapses()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeuralStructure(BasicNetwork network)
network - The network to construct a structure for.| Method Detail |
|---|
public void finalizeStructure()
public java.util.List<Layer> getLayers()
public BasicNetwork getNetwork()
public java.util.Collection<Layer> getPreviousLayers(Layer targetLayer)
targetLayer - The target layer.
public java.util.Collection<Synapse> getPreviousSynapses(Layer targetLayer)
targetLayer - The layer to get the previous layers from.
public java.util.List<Synapse> getSynapses()
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||