GPLIB++
Public Member Functions | List of all members
gplib::InputNeuron Class Reference

#include <InputNeuron.h>

Inheritance diagram for gplib::InputNeuron:
Inheritance graph
[legend]

Public Member Functions

virtual const std::vector
< double > & 
GetOldDelta ()
 Vector valued delta for the momentum adaptation scheme. More...
 
virtual std::vector< double > & SetOldDelta ()
 
virtual double CalcDeriv (const double input)
 Calculate the derivative of the activation function, at point input. More...
 
virtual double GetNet ()
 Get the net output before application of the activation function. More...
 
virtual double GetDelta ()
 Get delta for the weight correction formula. More...
 
virtual void SetDelta (const double d)
 Set delta. More...
 
virtual void SetBias (const double b)
 Set the bias. More...
 
virtual double GetBias ()
 Get the bias. More...
 
virtual const std::vector
< double > & 
GetWeights ()
 Access function for the weights. More...
 
virtual std::vector< double > & SetWeights ()
 
virtual const
GeneralLinearCombiner::tinvector
GetInput ()
 Get the pointers to the input neurons. More...
 
 InputNeuron (double &Infield)
 
virtual ~InputNeuron ()
 
- Public Member Functions inherited from gplib::GeneralNeuron
double GetOutput ()
 Get the output given the current weights. More...
 
double GetLastOutput ()
 Get the last result from calling GetOutput, needed during adaptation. More...
 
virtual void SetInput (const GeneralLinearCombiner::tinvector &input)
 Set pointers to the input. More...
 
 GeneralNeuron ()
 
virtual ~GeneralNeuron ()
 

Detailed Description

The iput neuron class provides the bridge between the network input and the other neurons, a lot of base class functionality does not make sense here and throws an exception, should think of a better way

Definition at line 13 of file InputNeuron.h.

Constructor & Destructor Documentation

gplib::InputNeuron::InputNeuron ( double &  Infield)
inline

Definition at line 66 of file InputNeuron.h.

virtual gplib::InputNeuron::~InputNeuron ( )
inlinevirtual

Definition at line 70 of file InputNeuron.h.

Member Function Documentation

virtual double gplib::InputNeuron::CalcDeriv ( const double  input)
inlinevirtual

Calculate the derivative of the activation function, at point input.

Implements gplib::GeneralNeuron.

Definition at line 32 of file InputNeuron.h.

virtual double gplib::InputNeuron::GetBias ( )
inlinevirtual

Get the bias.

Implements gplib::GeneralNeuron.

Definition at line 50 of file InputNeuron.h.

virtual double gplib::InputNeuron::GetDelta ( )
inlinevirtual

Get delta for the weight correction formula.

Implements gplib::GeneralNeuron.

Definition at line 40 of file InputNeuron.h.

virtual const GeneralLinearCombiner::tinvector& gplib::InputNeuron::GetInput ( )
inlinevirtual

Get the pointers to the input neurons.

Implements gplib::GeneralNeuron.

Definition at line 62 of file InputNeuron.h.

virtual double gplib::InputNeuron::GetNet ( )
inlinevirtual

Get the net output before application of the activation function.

Implements gplib::GeneralNeuron.

Definition at line 36 of file InputNeuron.h.

virtual const std::vector<double>& gplib::InputNeuron::GetOldDelta ( )
inlinevirtual

Vector valued delta for the momentum adaptation scheme.

Implements gplib::GeneralNeuron.

Definition at line 24 of file InputNeuron.h.

virtual const std::vector<double>& gplib::InputNeuron::GetWeights ( )
inlinevirtual

Access function for the weights.

Implements gplib::GeneralNeuron.

Definition at line 54 of file InputNeuron.h.

virtual void gplib::InputNeuron::SetBias ( const double  b)
inlinevirtual

Set the bias.

Implements gplib::GeneralNeuron.

Definition at line 47 of file InputNeuron.h.

virtual void gplib::InputNeuron::SetDelta ( const double  d)
inlinevirtual

Set delta.

Implements gplib::GeneralNeuron.

Definition at line 44 of file InputNeuron.h.

virtual std::vector<double>& gplib::InputNeuron::SetOldDelta ( )
inlinevirtual

Implements gplib::GeneralNeuron.

Definition at line 28 of file InputNeuron.h.

virtual std::vector<double>& gplib::InputNeuron::SetWeights ( )
inlinevirtual

Implements gplib::GeneralNeuron.

Definition at line 58 of file InputNeuron.h.


The documentation for this class was generated from the following file: