Classes |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Gecode::Set::Rel::CharacteristicSets Class Reference
Representation of the characteristic functions of two sets. More...
#include <gecode/set/rel/lq.hpp>
Classes | |
| class | CSIter |
| Value iterator for characteristic function. More... | |
Public Member Functions | |
| template<class View0, class View1> | |
| CharacteristicSets (Region &re, View0 x, View1 y) | |
| Constructor. | |
| bool | xmin (unsigned int i) const |
| Return minimum of element i for variable x. | |
| bool | xmax (unsigned int i) const |
| Return maximum of element i for variable x. | |
| bool | ymin (unsigned int i) const |
| Return minimum of element i for variable y. | |
| bool | ymax (unsigned int i) const |
| Return maximum of element i for variable y. | |
| void | xmin (unsigned int i, bool j) |
| Set minimum of element i for variable x to j. | |
| void | xmax (unsigned int i, bool j) |
| Set maximum of element i for variable x to j. | |
| void | ymin (unsigned int i, bool j) |
| Set minimum of element i for variable y to j. | |
| void | ymax (unsigned int i, bool j) |
| Set maximum of element i for variable y to j. | |
| ModEvent | xlq (unsigned int i, bool j) |
| Update upper bound of \(x_i\) to j. | |
| ModEvent | xgq (unsigned int i, bool j) |
| Update lower bound of \(x_i\) to j. | |
| ModEvent | ylq (unsigned int i, bool j) |
| Update upper bound of \(y_i\) to j. | |
| ModEvent | ygq (unsigned int i, bool j) |
| Update lower bound of \(y_i\) to j. | |
| unsigned int | size (void) const |
| Return size of combined upper bounds. | |
| template<class View0, class View1> | |
| ExecStatus | prune (Space &home, View0 x, View1 y) |
| Prune x and y using computed bounds. | |
Protected Member Functions | |
| bool | get (unsigned int i) const |
| Get bit i. | |
| void | set (unsigned int i, bool j) |
| Set bit i to value j. | |
Protected Attributes | |
| unsigned int | xsize |
| Size of the combined upper bounds. | |
| Support::BitSetBase | b |
| Storage for the characteristic functions. | |
| int * | ub |
| Elements in the combined upper bounds. | |
| bool | xlm |
| Whether lower bound of x was updated. | |
| bool | xum |
| Whether upper bound of x was updated. | |
| bool | ylm |
| Whether lower bound of y was updated. | |
| bool | yum |
| Whether upper bound of y was updated. | |
Detailed Description
Constructor & Destructor Documentation
◆ CharacteristicSets()
template<class View0, class View1>
|
inline |
Member Function Documentation
◆ get()
|
inlineprotected |
◆ set()
|
inlineprotected |
◆ xmin() [1/2]
|
inline |
◆ xmax() [1/2]
|
inline |
◆ ymin() [1/2]
|
inline |
◆ ymax() [1/2]
|
inline |
◆ xmin() [2/2]
|
inline |
◆ xmax() [2/2]
|
inline |
◆ ymin() [2/2]
|
inline |
◆ ymax() [2/2]
|
inline |
◆ xlq()
|
inline |
◆ xgq()
|
inline |
◆ ylq()
|
inline |
◆ ygq()
|
inline |
◆ size()
|
inline |
◆ prune()
template<class View0, class View1>
|
inline |
Member Data Documentation
◆ xsize
|
protected |
◆ b
|
protected |
◆ ub
|
protected |
◆ xlm
|
protected |
◆ xum
|
protected |
◆ ylm
|
protected |
◆ yum
|
protected |
The documentation for this class was generated from the following file:
- gecode/set/rel/lq.hpp
