PetaVision  Alpha
LogTimeScaleProbe.hpp
1 #ifndef _LOGTIMESCALEPROBE_HPP_
2 #define _LOGTIMESCALEPROBE_HPP_
3 
4 #include "AdaptiveTimeScaleProbe.hpp"
5 #include <cfloat>
6 
7 namespace PV {
8 
10 
11  public:
12  virtual void ioParam_logThresh(enum ParamsIOFlag ioFlag);
13  virtual void ioParam_logSlope(enum ParamsIOFlag ioFlag);
14 
15  LogTimeScaleProbe(char const *name, HyPerCol *hc);
16 
17  protected:
18  int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override;
19  virtual void allocateTimeScaleController() override;
20 
21  double mLogThresh = DBL_MAX_EXP;
22  double mLogSlope = 1.0;
23 };
24 }
25 
26 #endif
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override