A base class for continuous variables, independent of the GUM_SCALAR type.
More...
#include <agrum/tools/variables/IContinuousVariable.h>
A base class for continuous variables, independent of the GUM_SCALAR type.
Definition at line 45 of file IContinuousVariable.h.
◆ IContinuousVariable() [1/3]
gum::IContinuousVariable::IContinuousVariable |
( |
const std::string & |
aName, |
|
|
const std::string & |
aDesc |
|
) |
| |
◆ IContinuousVariable() [2/3]
Copy Constructor.
If from has any listener, it will not be copied.
- Parameters
-
◆ IContinuousVariable() [3/3]
◆ ~IContinuousVariable()
virtual gum::IContinuousVariable::~IContinuousVariable |
( |
| ) |
|
|
virtual |
◆ clone()
◆ copy_()
void gum::Variable::copy_ |
( |
const Variable & |
aRV | ) |
|
|
protectedinherited |
protected copy
- Parameters
-
◆ description()
const std::string& gum::Variable::description |
( |
| ) |
const |
|
inherited |
returns the description of the variable
◆ domain()
virtual const std::string gum::Variable::domain |
( |
| ) |
const |
|
pure virtualinherited |
◆ lowerBoundAsDouble()
virtual double gum::IContinuousVariable::lowerBoundAsDouble |
( |
| ) |
const |
|
pure virtual |
◆ name()
const std::string& gum::Variable::name |
( |
| ) |
const |
|
inherited |
returns the name of the variable
◆ operator!=()
virtual bool gum::Variable::operator!= |
( |
const Variable & |
aRV | ) |
const |
|
virtualinherited |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
virtual bool gum::Variable::operator== |
( |
const Variable & |
aRV | ) |
const |
|
virtualinherited |
◆ setDescription()
void gum::Variable::setDescription |
( |
const std::string & |
theValue | ) |
const |
|
inherited |
sets the description of the variable
- Warning
- since description is mutable, setDescription() is const
- Parameters
-
◆ setLowerBoundFromDouble()
virtual void gum::IContinuousVariable::setLowerBoundFromDouble |
( |
const double |
new_bound | ) |
|
|
pure virtual |
◆ setName()
void gum::Variable::setName |
( |
const std::string & |
theValue | ) |
|
|
inherited |
sets the name of the variable
- Parameters
-
◆ setUpperBoundFromDouble()
virtual void gum::IContinuousVariable::setUpperBoundFromDouble |
( |
const double |
new_bound | ) |
|
|
pure virtual |
◆ upperBoundAsDouble()
virtual double gum::IContinuousVariable::upperBoundAsDouble |
( |
| ) |
const |
|
pure virtual |
◆ varType()
virtual VarType gum::Variable::varType |
( |
| ) |
const |
|
pure virtualinherited |
The documentation for this class was generated from the following file: