Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

InputNeuron Class Reference

Input neurons are slightly special. More...

#include <InputNeuron.h>

Inheritance diagram for InputNeuron:

Inheritance graph
Collaboration diagram for InputNeuron:

Collaboration graph
List of all members.

Public Member Functions

 InputNeuron (int label)
 Creates an input neuron with the given label.

void setValue (real value)
 Sets the input.

virtual operator std::string () const
 A description of the input.

virtual const char * getClassName () const
 For reflection.

Detailed Description

Input neurons are slightly special.

They don't really do much, just implement the Neuron interface so that other neurons can create Links to these. Input neurons allow you to set their output. The activation and output of these neurons is the same and equal to the value set.

Constructor & Destructor Documentation

InputNeuron int  label  ) 

Creates an input neuron with the given label.

label The label to be given to the input

Member Function Documentation

virtual const char* getClassName  )  const [virtual]

For reflection.


Implements Neuron.

virtual operator std::string  )  const [virtual]

A description of the input.

Useful for debugging.

A descriptive string. This is just for possible debugging, isn't of much other value

Reimplemented from Neuron.

void setValue real  value  ) 

Sets the input.

The result of getOutput() and getActivation() will be this value.

value The input value this neuron is associated with

The documentation for this class was generated from the following file:
Generated on Fri Jun 18 13:19:01 2004 for Annie by doxygen 1.3.5