Counting propagators. More...
Classes | |
| class | IntBase |
| Baseclass for count propagators (integer). More... | |
| class | EqInt |
| Propagator for counting views (equal integer to number of equal views) More... | |
| class | GqInt |
| Propagator for counting views (greater or equal integer to number of equal views) More... | |
| class | LqInt |
| Propagator for counting views (less or equal integer to number of equal views) More... | |
| class | ViewBase |
| Base-class for count propagators (view). More... | |
| class | EqView |
| Propagator for counting views (equal to number of equal views) More... | |
| class | LqView |
| Propagator for counting views (less or equal to number of equal views) More... | |
| class | GqView |
| Propagator for counting views (greater or equal to number of equal views) More... | |
Functions | |
| template<class VY> | |
| bool | isintset (VY y) |
| Return whether y is an integer set. | |
| template<class VY> | |
| bool | isval (VY y) |
| Return whether y is a value. | |
| template<class VY> | |
| void | subscribe (Space &home, Propagator &p, VY y) |
| Subscribe propagator p to view y. | |
| template<class VY> | |
| void | cancel (Space &home, Propagator &p, VY y) |
| Cancel propagator p for view y. | |
| template<class VY> | |
| void | reschedule (Space &home, Propagator &p, VY y) |
| Schedule propagator p for view y. | |
| template<class VY> | |
| void | update (VY &y, Space &home, bool shared, VY py) |
| Update view y from py. | |
| template<class VX> | |
| RelTest | holds (VX x, VX y) |
| Test whether x and y are equal. | |
| template<class VX> | |
| RelTest | holds (VX x, ConstIntView y) |
| Test whether x and y are equal. | |
| template<class VX> | |
| RelTest | holds (VX x, ZeroIntView y) |
| Test whether x and y are equal. | |
| template<class VX> | |
| RelTest | holds (VX x, const IntSet &y) |
| Test whether x and y are equal. | |
| template<class VX> | |
| ExecStatus | post_true (Home home, ViewArray< VX > &x, VX y) |
| Post that all views in x are equal to y. | |
| template<class VX> | |
| ExecStatus | post_true (Home home, ViewArray< VX > &x, ConstIntView y) |
| Post that all views in x are equal to y. | |
| template<class VX> | |
| ExecStatus | post_true (Home home, ViewArray< VX > &x, ZeroIntView y) |
| Post that all views in x are equal to y. | |
| template<class VX> | |
| ExecStatus | post_true (Home home, ViewArray< VX > &x, const IntSet &y) |
| Post that all views in x are equal to y. | |
| template<class VX> | |
| ExecStatus | post_false (Home home, ViewArray< VX > &x, VX y) |
| Post that all views in x are not equal to y. | |
| template<class VX> | |
| ExecStatus | post_false (Home home, ViewArray< VX > &x, ConstIntView y) |
| Post that all views in x are not equal to y. | |
| template<class VX> | |
| ExecStatus | post_false (Home home, ViewArray< VX > &x, ZeroIntView y) |
| Post that all views in x are not equal to y. | |
| template<class VX> | |
| ExecStatus | post_false (Home home, ViewArray< VX > &x, const IntSet &y) |
| Post that all views in x are not equal to y. | |
| template<class VX> | |
| ExecStatus | prune (Home home, ViewArray< VX > &x, VX y) |
| Prune that y is the union of x. | |
| template<class VX> | |
| ExecStatus | prune (Home home, ViewArray< VX > &x, ConstIntView y) |
| Prune that y is the union of x. | |
| template<class VX> | |
| ExecStatus | prune (Home home, ViewArray< VX > &x, ZeroIntView y) |
| Prune that y is the union of x. | |
| template<class VX> | |
| ExecStatus | prune (Home home, ViewArray< VX > &x, const IntSet &y) |
| Prune that y is the union of x. | |
| template<> | |
| bool | isintset (IntSet y) |
| template<> | |
| bool | isval (IntSet y) |
| void | subscribe (Space &home, Propagator &p, IntSet &y) |
| void | cancel (Space &home, Propagator &p, IntSet &y) |
| void | reschedule (Space &home, Propagator &p, IntSet &y) |
| void | update (IntSet &y, Space &home, IntSet &py) |
| template<class VY> | |
| void | update (VY &y, Space &home, VY py) |
| template<class VX> | |
| ExecStatus | post_true (Home home, VX x, ConstIntView y) |
| template<class VX> | |
| ExecStatus | post_true (Home home, VX x, ZeroIntView) |
| template<class VX> | |
| ExecStatus | post_true (Home home, VX x, const IntSet &y) |
| template<class VX> | |
| ExecStatus | post_false (Home home, VX x, ConstIntView y) |
| template<class VX> | |
| ExecStatus | post_false (Home home, VX x, ZeroIntView) |
| template<class VX> | |
| ExecStatus | post_false (Home home, VX x, const IntSet &y) |
| template<class VX> | |
| ExecStatus | post_true (Home home, VX x, VX y) |
| template<class VX> | |
| ExecStatus | post_false (Home home, VX x, VX y) |
| template<class VX> | |
| ExecStatus | prune (Space &home, ViewArray< VX > &x, ConstIntView) |
| template<class VX> | |
| ExecStatus | prune (Space &home, ViewArray< VX > &x, ZeroIntView) |
| template<class VX> | |
| ExecStatus | prune (Space &home, ViewArray< VX > &x, const IntSet &y) |
| template<class VX> | |
| ExecStatus | prune (Space &home, ViewArray< VX > &x, VX y) |
| template<class VX> | |
| bool | shared (const IntSet &, VX) |
Detailed Description
Counting propagators.
Function Documentation
◆ isintset() [1/2]
template<class VY>
|
inline |
◆ isval() [1/2]
template<class VY>
|
inline |
◆ subscribe() [1/2]
template<class VY>
|
inline |
◆ cancel() [1/2]
template<class VY>
|
inline |
◆ reschedule() [1/2]
template<class VY>
|
inline |
◆ update() [1/3]
template<class VY>
| void Gecode::Int::Count::update | ( | VY & | y, |
| Space & | home, | ||
| bool | shared, | ||
| VY | py ) |
Update view y from py.
◆ holds() [1/4]
template<class VX>
|
inline |
◆ holds() [2/4]
template<class VX>
|
inline |
◆ holds() [3/4]
template<class VX>
|
inline |
◆ holds() [4/4]
◆ post_true() [1/8]
template<class VX>
|
inline |
◆ post_true() [2/8]
template<class VX>
|
inline |
◆ post_true() [3/8]
template<class VX>
|
inline |
◆ post_true() [4/8]
template<class VX>
|
inline |
◆ post_false() [1/8]
template<class VX>
|
inline |
◆ post_false() [2/8]
template<class VX>
|
inline |
◆ post_false() [3/8]
template<class VX>
|
inline |
◆ post_false() [4/8]
template<class VX>
|
inline |
◆ prune() [1/8]
template<class VX>
| ExecStatus Gecode::Int::Count::prune | ( | Home | home, |
| ViewArray< VX > & | x, | ||
| VX | y ) |
Prune that y is the union of x.
◆ prune() [2/8]
template<class VX>
| ExecStatus Gecode::Int::Count::prune | ( | Home | home, |
| ViewArray< VX > & | x, | ||
| ConstIntView | y ) |
Prune that y is the union of x.
◆ prune() [3/8]
template<class VX>
| ExecStatus Gecode::Int::Count::prune | ( | Home | home, |
| ViewArray< VX > & | x, | ||
| ZeroIntView | y ) |
Prune that y is the union of x.
◆ prune() [4/8]
template<class VX>
| ExecStatus Gecode::Int::Count::prune | ( | Home | home, |
| ViewArray< VX > & | x, | ||
| const IntSet & | y ) |
Prune that y is the union of x.
◆ isintset() [2/2]
template<>
|
inline |
◆ isval() [2/2]
◆ subscribe() [2/2]
|
inline |
◆ cancel() [2/2]
|
inline |
◆ reschedule() [2/2]
|
inline |
◆ update() [2/3]
◆ update() [3/3]
template<class VY>
|
inline |
◆ post_true() [5/8]
template<class VX>
|
inline |
◆ post_true() [6/8]
template<class VX>
|
inline |
◆ post_true() [7/8]
template<class VX>
|
inline |
◆ post_false() [5/8]
template<class VX>
|
inline |
◆ post_false() [6/8]
template<class VX>
|
inline |
◆ post_false() [7/8]
template<class VX>
|
inline |
◆ post_true() [8/8]
template<class VX>
|
inline |
◆ post_false() [8/8]
template<class VX>
|
inline |
◆ prune() [5/8]
template<class VX>
|
inline |
◆ prune() [6/8]
template<class VX>
|
inline |
◆ prune() [7/8]
template<class VX>
|
inline |
◆ prune() [8/8]
template<class VX>
|
inline |
◆ shared()
template<class VX>
|
inline |
Definition at line 118 of file view-base.hpp.
