File indexing completed on 2026-06-02 08:48:23
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef ACTIVATIONFUNCTIONTHRESHOLD_H_
0009 #define ACTIVATIONFUNCTIONTHRESHOLD_H_
0010
0011 #include "ActivationFunction.h"
0012
0013 namespace NumA {
0014
0015 class ActivationFunctionThreshold: public ActivationFunction {
0016
0017 public:
0018
0019 static const unsigned int classId;
0020
0021 ActivationFunctionThreshold();
0022 virtual ~ActivationFunctionThreshold();
0023 virtual ActivationFunctionThreshold* clone() const;
0024
0025 virtual double evaluate(double input);
0026 virtual double evaluateFirstDerivative(double input);
0027 virtual double evaluateSecondDerivative(double input);
0028
0029 protected:
0030
0031 ActivationFunctionThreshold(const ActivationFunctionThreshold& other);
0032 };
0033
0034 }
0035
0036 #endif