Definition of the generic parameter. More...
#include <ParamInfo.hpp>
Definition of the generic parameter.
| _name | Name assigned to the parameter |
| _value | Value (initial) assigned to the parameter |
| _currentValue | Value currently assigned to the parameter |
| _absoluteBounds | Absolute bounds within which the parameter may vary |
| _userBounds | Current bounds for the parameter |
| _isFixed | True if the parameter value may not vary (in the non linear optimization) |
| _description | String describing the role of this parameter |
| _address | Address of the parameter in the optimization vector (ListParams) |
Public Member Functions | |
| ParamInfo (const String &name="", double value=TEST, const std::array< double, 2 > &absoluteBounds={-INF, INF}, const std::string &description="", bool isfixed=false) | |
| ParamInfo (const ParamInfo &other) | |
| ParamInfo & | operator= (const ParamInfo &other) |
| virtual | ~ParamInfo () |
| double | getValue () const |
| double | getAbsoluteMinValue () const |
| double | getAbsoluteMaxValue () const |
| void | setMinValue (double value) |
| void | setMaxValue (double value) |
| void | decreaseMax (double value) |
| void | increaseMin (double value) |
| void | setValue (double value) |
| String | getName () const |
| double | getUserMin () const |
| double | getUserMax () const |
| void | setFixed (bool isFixed) |
| bool | isFixed () const |
| void | setAddress (Id addr) const |
| size_t | getAddress () const |
| String | toString (const AStringFormat *strfmt=nullptr) const override |
Public Member Functions inherited from gstlrn::AStringable | |
| AStringable () | |
| AStringable (const AStringable &r) | |
| AStringable & | operator= (const AStringable &r) |
| virtual | ~AStringable () |
| virtual void | display (const AStringFormat *strfmt=nullptr) const final |
| virtual void | display (Id level) const final |
| gstlrn::ParamInfo::ParamInfo | ( | const String & | name = "", |
| double | value = TEST, |
||
| const std::array< double, 2 > & | absoluteBounds = {-INF, INF}, |
||
| const std::string & | description = "", |
||
| bool | isfixed = false |
||
| ) |
| gstlrn::ParamInfo::ParamInfo | ( | const ParamInfo & | other | ) |
|
virtual |
| void gstlrn::ParamInfo::decreaseMax | ( | double | value | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void gstlrn::ParamInfo::increaseMin | ( | double | value | ) |
|
inline |
|
inline |
|
inline |
| void gstlrn::ParamInfo::setMaxValue | ( | double | value | ) |
| void gstlrn::ParamInfo::setMinValue | ( | double | value | ) |
| void gstlrn::ParamInfo::setValue | ( | double | value | ) |
|
overridevirtual |
Reimplemented from gstlrn::AStringable.