Class for a variable.
More...
#include <VariableBounds.h>
template<typename T>
class smtrat::vb::Variable< T >
Class for a variable.
Definition at line 198 of file VariableBounds.h.
◆ BoundSet
◆ Variable()
Constructs this variable.
◆ ~Variable()
◆ addBound()
Adds the bound corresponding to the constraint to the given variable.
The constraint is expected to contain only one variable and this one only linearly.
- Parameters
-
_constraint | A pointer to a constraint of the form ax~b. |
_var | Hence, the variable x. |
_origin | The origin of the constraint. This is could be the constraint itself or anything else in the data structure which uses this object. |
_limit | |
- Returns
- The added bound.
◆ conflicting()
- Returns
- true, if there is a conflict; false, otherwise.
◆ doubleIntervalHasBeenUpdated()
Sets the flag indicating that the stored double interval representing the variable's bounds is up to date to false.
Definition at line 299 of file VariableBounds.h.
◆ exactIntervalHasBeenUpdated()
Sets the flag indicating that the stored exact interval representing the variable's bounds is up to date to false.
Definition at line 282 of file VariableBounds.h.
◆ infimum()
- Returns
- A constant reference to the infimum of this variable.
Definition at line 331 of file VariableBounds.h.
◆ lowerbounds()
- Returns
- A constant reference to the set of lower bounds of this variable.
Definition at line 347 of file VariableBounds.h.
◆ pInfimum()
- Returns
- A pointer to the infimum of this variable.
Definition at line 323 of file VariableBounds.h.
◆ pSupremum()
- Returns
- A pointer to the supremum of this variable.
Definition at line 307 of file VariableBounds.h.
◆ supremum()
- Returns
- A constant reference to the supremum of this variable.
Definition at line 315 of file VariableBounds.h.
◆ updateBounds()
Updates the infimum and supremum of this variable.
- Parameters
-
_changedBound | The bound, for which we certainly know that it got deactivated before. |
- Returns
- true, if there is a conflict; false, otherwise.
◆ updatedDoubleInterval()
- Returns
- true, if the stored double interval representing the variable's bounds is up to date. false, otherwise
Definition at line 291 of file VariableBounds.h.
◆ updatedExactInterval()
- Returns
- true, if the stored exact interval representing the variable's bounds is up to date. false, otherwise
Definition at line 274 of file VariableBounds.h.
◆ upperbounds()
- Returns
- A constant reference to the set of upper bounds of this variable.
Definition at line 339 of file VariableBounds.h.
◆ mLowerbounds
◆ mpInfimum
◆ mpSupremum
◆ mUpdatedDoubleInterval
A flag that indicates that the stored double interval of this variable is up to date.
Definition at line 223 of file VariableBounds.h.
◆ mUpdatedExactInterval
A flag that indicates that the stored exact interval of this variable is up to date.
Definition at line 221 of file VariableBounds.h.
◆ mUpperbounds
The documentation for this class was generated from the following file: