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

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

public class InputOutputGenericTopologyBuilder
extends FFNNgenericTopologyBuilder

Author:
leo This class constructs a Neural Network topology that consists of only an Input and an Ouput layer, with weight values between them. This Neural Network does not have a hidden layer.

Field Summary
 
Fields inherited from class net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.FFNNgenericTopologyBuilder
layerSizes, prototypeWeight
 
Fields inherited from class net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.GenericTopologyBuilder
activationFunction, outputActivationFunction
 
Constructor Summary
InputOutputGenericTopologyBuilder()
           
 
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()
          
 
Methods inherited from class net.sourceforge.cilib.neuralnetwork.generic.topologybuilders.FFNNgenericTopologyBuilder
setAddLayer, setPrototypeWeight
 
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
 

Constructor Detail

InputOutputGenericTopologyBuilder

public InputOutputGenericTopologyBuilder()
Method Detail

createLayerList

public ArrayList<ArrayList<NeuronConfig>> createLayerList()
Assemble the Neural Network

Overrides:
createLayerList in class FFNNgenericTopologyBuilder
Returns:
the Layer List of NeuronConfig that represents the Neural Network

initialize

public void initialize()

Specified by:
initialize in interface Initializable
Overrides:
initialize in class FFNNgenericTopologyBuilder

addLayer

public void addLayer(int nrNeurons)
Used to add the array of layer sizes in XML

Overrides:
addLayer in class FFNNgenericTopologyBuilder


Copyright © 2009 CIRG. All Rights Reserved.