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