GeneralActivationFunction.h
Go to the documentation of this file.00001 #ifndef CGENERALACTIVATIONFUNCTION_H
00002 #define CGENERALACTIVATIONFUNCTION_H
00003
00004 namespace gplib
00005 {
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 class GeneralActivationFunction
00016 {
00017 public:
00018
00019 virtual double CalcOutput(const double input) = 0;
00020
00021 virtual double CalcDeriv(const double input) = 0;
00022 GeneralActivationFunction();
00023 virtual ~GeneralActivationFunction();
00024 };
00025
00026 }
00027 #endif // CGENERALACTIVATIONFUNCTION_H