59 Error(
"SetPre",
"this synapse is already assigned to a pre-neuron.");
72 Error(
"SetPost",
"this synapse is already assigned to a post-neuron.");
Double_t GetValue() const
Returns the value: weithted input.
Double_t GetDeDw() const
Computes the derivative of the error wrt the synapse weight.
void AddPre(TSynapse *)
Adds a synapse to the neuron as an input This method is used by the TSynapse while connecting two neu...
Double_t GetValue() const
Computes the output using the appropriate function and all the weighted inputs, or uses the branch as...
void SetPre(TNeuron *pre)
Sets the pre-neuron.
TSynapse()
Default constructor.
void SetPost(TNeuron *post)
Sets the post-neuron.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
void SetWeight(Double_t w)
Sets the weight of the synapse.
void SetDEDw(Double_t in)
Sets the derivative of the total error wrt the synapse weight.
Double_t GetDeDw() const
Computes the derivative of the error wrt the neuron weight.
void AddPost(TSynapse *)
Adds a synapse to the neuron as an output This method is used by the TSynapse while connecting two ne...