|
ROOT 6.13/01 Reference Guide |
Definition at line 30 of file TSynapse.h.
Public Member Functions | |
| TSynapse () | |
| Default constructor. More... | |
| TSynapse (TNeuron *, TNeuron *, Double_t w=1) | |
| Constructor that connects two neurons. More... | |
| virtual | ~TSynapse () |
| Double_t | GetDeDw () const |
| Computes the derivative of the error wrt the synapse weight. More... | |
| Double_t | GetDEDw () const |
| TNeuron * | GetPost () const |
| TNeuron * | GetPre () const |
| Double_t | GetValue () const |
| Returns the value: weithted input. More... | |
| Double_t | GetWeight () const |
| void | SetDEDw (Double_t in) |
| Sets the derivative of the total error wrt the synapse weight. More... | |
| void | SetPost (TNeuron *post) |
| Sets the post-neuron. More... | |
| void | SetPre (TNeuron *pre) |
| Sets the pre-neuron. More... | |
| void | SetWeight (Double_t w) |
| Sets the weight of the synapse. More... | |
Private Attributes | |
| Double_t | fDEDw |
| TNeuron * | fpost |
| TNeuron * | fpre |
| Double_t | fweight |
#include <TSynapse.h>
| TSynapse::TSynapse | ( | ) |
Default constructor.
Definition at line 32 of file TSynapse.cxx.
Constructor that connects two neurons.
Definition at line 43 of file TSynapse.cxx.
|
inlinevirtual |
Definition at line 34 of file TSynapse.h.
| Double_t TSynapse::GetDeDw | ( | ) | const |
Computes the derivative of the error wrt the synapse weight.
Definition at line 92 of file TSynapse.cxx.
|
inline |
Definition at line 44 of file TSynapse.h.
|
inline |
Definition at line 38 of file TSynapse.h.
|
inline |
Definition at line 37 of file TSynapse.h.
| Double_t TSynapse::GetValue | ( | ) | const |
Returns the value: weithted input.
Definition at line 82 of file TSynapse.cxx.
|
inline |
Definition at line 40 of file TSynapse.h.
| void TSynapse::SetDEDw | ( | Double_t | in | ) |
Sets the derivative of the total error wrt the synapse weight.
Definition at line 113 of file TSynapse.cxx.
| void TSynapse::SetPost | ( | TNeuron * | post | ) |
Sets the post-neuron.
Definition at line 69 of file TSynapse.cxx.
| void TSynapse::SetPre | ( | TNeuron * | pre | ) |
Sets the pre-neuron.
Definition at line 56 of file TSynapse.cxx.
| void TSynapse::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.
Definition at line 105 of file TSynapse.cxx.
|
private |
Definition at line 50 of file TSynapse.h.
|
private |
Definition at line 48 of file TSynapse.h.
|
private |
Definition at line 47 of file TSynapse.h.
|
private |
Definition at line 49 of file TSynapse.h.