#ifndef ROOT_TSynapse
#define ROOT_TSynapse
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TNeuron;
class TSynapse : public TObject {
public:
TSynapse();
TSynapse(TNeuron*, TNeuron*, Double_t w = 1);
virtual ~ TSynapse() {}
void SetPre(TNeuron* pre);
void SetPost(TNeuron* post);
inline TNeuron* GetPre() const { return fpre; }
inline TNeuron* GetPost() const { return fpost; }
void SetWeight(Double_t w);
inline Double_t GetWeight() const { return fweight; }
Double_t GetValue() const;
Double_t GetDeDw() const;
void SetDEDw(Double_t in);
Double_t GetDEDw() const { return fDEDw; }
private:
TNeuron* fpre;
TNeuron* fpost;
Double_t fweight;
Double_t fDEDw;
ClassDef(TSynapse, 1)
};
#endif
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.