library: libMLP #include "TSynapse.h" |
TSynapse
class description - header file - source file - inheritance tree (.pdf)
public:
TSynapse()
TSynapse(TNeuron*, TNeuron*, Double_t w = 1)
TSynapse(const TSynapse&)
virtual ~TSynapse()
static TClass* Class()
Double_t GetDeDw() const
Double_t GetDEDw() const
TNeuron* GetPost() const
TNeuron* GetPre() const
Double_t GetValue() const
Double_t GetWeight() const
virtual TClass* IsA() const
TSynapse& operator=(const TSynapse&)
void SetDEDw(Double_t in)
void SetPost(TNeuron* post)
void SetPre(TNeuron* pre)
void SetWeight(Double_t w)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TNeuron* fpre the neuron before the synapse
TNeuron* fpost the neuron after the synapse
Double_t fweight the weight of the synapse
Double_t fDEDw ! the derivative of the total error wrt the synapse weight
TSynapse
This is a simple weighted bidirectionnal connection between
two neurons.
A network is built connecting two neurons by a synapse.
In addition to the value, the synapse can return the DeDw
Double_t GetDeDw()
Computes the derivative of the error wrt the synapse weight.
void SetWeight(Double_t w)
Sets the weight of the synapse.
This weight is the multiplying factor applied on the
output of a neuron in the linear combination given as input
of another neuron.
void SetDEDw(Double_t in)
Sets the derivative of the total error wrt the synapse weight
Author: Christophe.Delaere@cern.ch 21/08/2002
Last update: root/mlp:$Name: $:$Id: TSynapse.cxx,v 1.6 2006/05/26 15:13:02 rdm Exp $
Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.