PetaVision
Alpha
Main Page
Data Structures
StrengthParam.hpp
1
/*
2
* StrengthParam.hpp
3
*
4
* Created on: Jan 29, 2018
5
* Author: Pete Schultz
6
*/
7
8
#ifndef STRENGTHPARAM_HPP_
9
#define STRENGTHPARAM_HPP_
10
11
#include "columns/BaseObject.hpp"
12
13
namespace
PV
{
14
20
class
StrengthParam
:
public
BaseObject
{
21
protected
:
32
virtual
void
ioParam_strength
(
enum
ParamsIOFlag ioFlag);
33
// end of StrengthParam parameters
35
36
public
:
37
StrengthParam
(
char
const
*name,
HyPerCol
*hc);
38
39
virtual
~
StrengthParam
();
40
41
float
getStrength()
const
{
return
mStrength; }
42
43
protected
:
44
StrengthParam
() {}
45
46
int
initialize(
char
const
*name,
HyPerCol
*hc);
47
48
virtual
void
setObjectType()
override
;
49
50
int
ioParamsFillGroup
(
enum
ParamsIOFlag ioFlag)
override
;
51
52
protected
:
53
float
mStrength = 1.0f;
54
};
55
56
}
// namespace PV
57
58
#endif // STRENGTHPARAM_HPP_
PV::StrengthParam
Definition:
StrengthParam.hpp:20
PV::HyPerCol
Definition:
HyPerCol.hpp:41
PV::StrengthParam::ioParam_strength
virtual void ioParam_strength(enum ParamsIOFlag ioFlag)
strength: specifies the value of the strength parameter. The NormalizeBase and InitGauss2DWeights cla...
Definition:
StrengthParam.cpp:28
PV::BaseObject
Definition:
BaseObject.hpp:44
PV::StrengthParam::ioParamsFillGroup
int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
Definition:
StrengthParam.cpp:23
PV
Definition:
CheckpointableFileStream.cpp:3
OpenPV
src
components
StrengthParam.hpp
Generated by
1.8.11