net.sourceforge.cilib.neuralnetwork.generic.topologybuilders
Class FFNNgenericTopologyBuilder
java.lang.Object
net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.FFNNgenericTopologyBuilder
- All Implemented Interfaces:
- Initializable
- Direct Known Subclasses:
- InputOutputGenericTopologyBuilder
public class FFNNgenericTopologyBuilder
- extends GenericTopologyBuilder
- Author:
- stefanv
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
layerSizes
protected int[] layerSizes
prototypeWeight
protected Weight prototypeWeight
FFNNgenericTopologyBuilder
public FFNNgenericTopologyBuilder()
initialize
public void initialize()
-
createLayerList
public ArrayList<ArrayList<NeuronConfig>> createLayerList()
- Assemble the Neural Network
- Specified by:
createLayerList
in class GenericTopologyBuilder
- Returns:
- the Layer List of NeuronConfig that represents the Neural Network
setPrototypeWeight
public void setPrototypeWeight(Weight pw)
addLayer
public void addLayer(int nrNeurons)
- Used to add the array of layer sizes in XML
setAddLayer
public void setAddLayer(int nr)
Copyright © 2009 CIRG. All Rights Reserved.