Uncertainty container.
More...
#include <Uncertainty.hpp>
Uncertainty container.
Used to store uncertain parameters for class ConstraintTermIF, LHSExpression, etc.
◆ const_iterator
Constant iterator for decision variable map.
◆ uncContainer()
| uncContainer::uncContainer |
( |
| ) |
|
|
inline |
◆ ~uncContainer()
| uncContainer::~uncContainer |
( |
| ) |
|
|
inline |
◆ begin()
Return a constant iterator pointing to the beginning of the uncertain parameter map.
◆ empty()
| bool uncContainer::empty |
( |
| ) |
const |
|
inline |
Return true if and only if this container is empty.
◆ end()
Return a constant iterator pointing to the end of the uncertain parameter map.
◆ find()
Return a constant iterator pointing to the uncertain parameter called uncName.
◆ findInObs()
Find the uncertain parameter called uncName in the map for observable uncertain parameters.
◆ findthrow()
Find the uncertain parameter called uncName in this container.
If there is no such uncertainty, an exception will be thrown.
◆ getAlphabeticalLocation()
| uint uncContainer::getAlphabeticalLocation |
( |
string |
uncName | ) |
const |
Get the alphabetical location of this uncertain parameter in this container.
◆ getNumObsUncertainties()
| size_t uncContainer::getNumObsUncertainties |
( |
| ) |
const |
|
inline |
Get the number of observable uncertain parameters in this container.
◆ getNumUncertainties()
| size_t uncContainer::getNumUncertainties |
( |
| ) |
const |
|
inline |
Get the number of uncertain parameters in this container.
◆ getObservableAlphabeticalLocation()
| uint uncContainer::getObservableAlphabeticalLocation |
( |
string |
uncName | ) |
const |
Get the alphabetical location of this uncertain parameter in this container among the observable uncertain parameters.
◆ isObservable()
| bool uncContainer::isObservable |
( |
string |
uncName | ) |
const |
Return true if and only if the uncertain parameter is observable.
◆ operator+=() [1/2]
Add uncertain parameter unc to this container.
- Note
- If the uncertainty already exists, it will be ignored. If an uncertain parameter with the same name already exists in this container, an error will be thrown.
◆ operator+=() [2/2]
Add uncertain parameters from uncertainty container a into this container.
- Note
- Uncertain parameters that already exist will be ignored. If an uncertain parameter with the same name already exists in this container, an error will be thrown.
◆ m_ObsUncMap
Map from uncertain parameter name to observable uncertain parameter.
◆ m_UncMap
Map from uncertain parameter name to uncertain parameter.