PetaVision  Alpha
L0NormLCAProbe.hpp
1 /*
2  * L0NormLCAProbe.hpp
3  *
4  * Created on: Oct 9, 2015
5  * Author: pschultz
6  */
7 
8 #ifndef L0NORMLCAPROBE_HPP_
9 #define L0NORMLCAPROBE_HPP_
10 
11 #include "L0NormProbe.hpp"
12 
13 namespace PV {
14 
23 class L0NormLCAProbe : public L0NormProbe {
24  public:
25  L0NormLCAProbe(const char *name, HyPerCol *hc);
26  virtual Response::Status
27  communicateInitInfo(std::shared_ptr<CommunicateInitInfoMessage const> message) override;
28  virtual ~L0NormLCAProbe() {}
29 
30  protected:
32  int initialize(const char *name, HyPerCol *hc) { return L0NormProbe::initialize(name, hc); }
33 
38  virtual void ioParam_coefficient(enum ParamsIOFlag ioFlag) override {
39  } // coefficient is set from targetLayer during communicateInitInfo.
40 
41  private:
42  int initialize_base() { return PV_SUCCESS; }
43 }; // end class L0NormLCAProbe
44 
45 } /* namespace PV */
46 
47 #endif /* L0NORMLCAPROBE_HPP_ */
virtual Response::Status communicateInitInfo(std::shared_ptr< CommunicateInitInfoMessage const > message) override
virtual void ioParam_coefficient(enum ParamsIOFlag ioFlag) override