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