Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

annie::InputLayer Class Reference

#include <InputLayer.h>

Inheritance diagram for annie::InputLayer:

annie::Layer List of all members.

Public Methods

 InputLayer (int label, int size)
virtual ~InputLayer ()
virtual void setInput (VECTOR &input)
 Sets the values of the input neurons in this layer to the values provided. More...

virtual void setInput (real *input)
 Sets the values of the input neurons in this layer to the values provided. More...

virtual void addNeuron (Neuron *nrn)
virtual const char * getClassName ()
 Returns "InputLayer". More...


Detailed Description

A layer of input neurons


Constructor & Destructor Documentation

annie::InputLayer::InputLayer int    label,
int    size
 

Construct a layer with the given label and with the given number of inputs.

Parameters:
label  The label to be given to this layer
size  The number of input in this layer

virtual annie::InputLayer::~InputLayer   [virtual]
 


Member Function Documentation

virtual void annie::InputLayer::addNeuron Neuron   nrn [virtual]
 

Adds a neuron to the input layer

Parameters:
nrn  An InputNeuron
Exceptions:
Exception  if the given neuron is not an InputNeuron

Reimplemented from annie::Layer.

virtual const char* annie::InputLayer::getClassName   [virtual]
 

Returns "InputLayer".

Reimplemented from annie::Layer.

virtual void annie::InputLayer::setInput real   input [virtual]
 

Sets the values of the input neurons in this layer to the values provided.

virtual void annie::InputLayer::setInput VECTOR   input [virtual]
 

Sets the values of the input neurons in this layer to the values provided.


The documentation for this class was generated from the following file:
Generated on Wed Apr 23 10:42:36 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002