org.encog.neural.networks.structure
public class NeuralStructure extends Object implements Serializable
Constructor and Description |
---|
NeuralStructure(BasicNetwork network)
Construct a structure object for the specified network.
|
Modifier and Type | Method and Description |
---|---|
int |
calculateSize()
Calculate the size that an array should be to hold all of the weights and
bias values.
|
void |
enforceLimit()
Enforce that all connections are above the connection limit.
|
void |
finalizeLimit()
Parse/finalize the limit value for connections.
|
void |
finalizeStructure()
Build the synapse and layer structure.
|
double |
getConnectionLimit() |
FlatNetwork |
getFlat() |
List<Layer> |
getLayers() |
BasicNetwork |
getNetwork() |
boolean |
isConnectionLimited() |
void |
requireFlat()
Throw an error if there is no flat network.
|
void |
setFlat(FlatNetwork flat)
Set the flat network.
|
void |
updateProperties()
Update any properties from the property map.
|
public NeuralStructure(BasicNetwork network)
network
- The network to construct a structure for.public final int calculateSize()
public final void enforceLimit()
public void finalizeLimit()
public final void finalizeStructure()
public final double getConnectionLimit()
public final FlatNetwork getFlat()
public final BasicNetwork getNetwork()
public final boolean isConnectionLimited()
public final void requireFlat()
public final void setFlat(FlatNetwork flat)
flat
- The flat network.public final void updateProperties()
Copyright © 2014. All Rights Reserved.