PetaVision  Alpha
StrengthParam.cpp
1 /*
2  * StrengthParam.cpp
3  *
4  * Created on: Jan 29, 2018
5  * Author: Pete Schultz
6  */
7 
8 #include "StrengthParam.hpp"
9 #include "columns/HyPerCol.hpp"
10 
11 namespace PV {
12 
13 StrengthParam::StrengthParam(char const *name, HyPerCol *hc) { initialize(name, hc); }
14 
15 StrengthParam::~StrengthParam() {}
16 
17 int StrengthParam::initialize(char const *name, HyPerCol *hc) {
18  return BaseObject::initialize(name, hc);
19 }
20 
21 void StrengthParam::setObjectType() { mObjectType = "StrengthParam"; }
22 
23 int StrengthParam::ioParamsFillGroup(enum ParamsIOFlag ioFlag) {
24  ioParam_strength(ioFlag);
25  return PV_SUCCESS;
26 }
27 
28 void StrengthParam::ioParam_strength(enum ParamsIOFlag ioFlag) {
29  parent->parameters()->ioParamValue(ioFlag, name, "strength", &mStrength, mStrength);
30 }
31 
32 } // namespace PV
virtual void ioParam_strength(enum ParamsIOFlag ioFlag)
strength: specifies the value of the strength parameter. The NormalizeBase and InitGauss2DWeights cla...
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override