net.sourceforge.cilib.neuralnetwork.generic.topologybuilders
Class FFNNgenericTopologyBuilder

java.lang.Object
  extended by net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
      extended by net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.FFNNgenericTopologyBuilder
All Implemented Interfaces:
Initializable
Direct Known Subclasses:
InputOutputGenericTopologyBuilder

public class FFNNgenericTopologyBuilder
extends GenericTopologyBuilder

Author:
stefanv

Field Summary
protected  int[] layerSizes
           
protected  Weight prototypeWeight
           
 
Fields inherited from class net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
activationFunction, outputActivationFunction
 
Constructor Summary
FFNNgenericTopologyBuilder()
           
 
Method Summary
 void addLayer(int nrNeurons)
          Used to add the array of layer sizes in XML
 ArrayList<ArrayList<NeuronConfig>> createLayerList()
          Assemble the Neural Network
 void initialize()
          
 void setAddLayer(int nr)
           
 void setPrototypeWeight(Weight pw)
           
 
Methods inherited from class net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
getActivationFunction, getOutputActivationFunction, setActivationFunction, setOutputActivationFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layerSizes

protected int[] layerSizes

prototypeWeight

protected Weight prototypeWeight
Constructor Detail

FFNNgenericTopologyBuilder

public FFNNgenericTopologyBuilder()
Method Detail

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.