#define ClassDefOverride(name, id)
This class describes an elementary neuron, which is the basic element for a Neural Network.
Mother of all ROOT objects.
This is a simple weighted bidirectional connection between two neurons.
TNeuron * fpre
the neuron before the synapse
void SetPre(TNeuron *pre)
Sets the pre-neuron.
Double_t GetDeDw() const
Computes the derivative of the error wrt the synapse weight.
TNeuron * fpost
the neuron after the synapse
void SetPost(TNeuron *post)
Sets the post-neuron.
Double_t fDEDw
! the derivative of the total error wrt the synapse weight
Double_t fweight
the weight of the synapse
void SetWeight(Double_t w)
Sets the weight of the synapse.
Double_t GetValue() const
Returns the value: weighted input.
TNeuron * GetPost() const
Double_t GetWeight() const
void SetDEDw(Double_t in)
Sets the derivative of the total error wrt the synapse weight.
TSynapse()
Default constructor.