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