00001 #ifndef NSHEBBIANSYNAPSE_H_
00002 #define NSHEBBIANSYNAPSE_H_
00003
00004 #include "PlasticSynapse.h"
00005 #include "GenericBasicSynapse.h"
00006 #include "GenericNSHebbianSynapse.h"
00007 #include "EvSimObjectTypeUtils.h"
00008
00009
00010 class NSHebbianSynapse : public GenericNSHebbianSynapse<GenericBasicSynapse<PlasticNSSynapse> >
00011 {
00012 EV_SIM_OBJECT( NSHebbianSynapse )
00013 public:
00014
00015 NSHebbianSynapse(float Winit = 1,
00016 float eta = 1e-5,
00017 bool activePlasticity = true,
00018 float maxW = 5,
00019 float minW = -5,
00020 short sign = 1,
00021 SpikeResponse *response = 0,
00022 SpikeResponse *bap_trace = 0)
00023 : GenericNSHebbianSynapse<GenericBasicSynapse<PlasticNSSynapse> >(Winit, eta, activePlasticity,
00024 maxW, minW, sign, response, bap_trace) {}
00025
00026 virtual ~NSHebbianSynapse() {};
00027
00028 };
00029
00030 class NSHebbianActiveSynapse : public GenericNSHebbianSynapse<
00031 GenericBasicSynapse<PlasticNSActiveSynapse > >
00032 {
00033 EV_SIM_OBJECT( NSHebbianActiveSynapse )
00034 public:
00035
00036 NSHebbianActiveSynapse(float Winit = 1,
00037 float eta = 1e-5,
00038 bool activePlasticity = true,
00039 float maxW = 5,
00040 float minW = -5,
00041 short sign = 1,
00042 SpikeResponse *response = 0,
00043 SpikeResponse *bap_trace = 0)
00044 : GenericNSHebbianSynapse<
00045 GenericBasicSynapse<PlasticNSActiveSynapse > >(Winit, eta, activePlasticity,
00046 maxW, minW, sign, response, bap_trace) {}
00047
00048 };
00049
00050
00051 #endif