Domain consistent pair propagator.
More...
#include <element.hh>
|
| Pair (Home home, IntView x0, IntView x1, IntView x2, int w) |
| Constructor for posting. More...
|
|
virtual Actor * | copy (Space &home, bool share) |
| Copy propagator during cloning. More...
|
|
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More...
|
|
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low ternary) More...
|
|
virtual void | reschedule (Space &home) |
| Schedule function. More...
|
|
virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More...
|
|
ModEventDelta | modeventdelta (void) const |
| Return the modification event delta. More...
|
|
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
| Advise function. More...
|
|
virtual void | advise (Space &home, Advisor &a) |
| Run advisor a to be run on failure in failed space. More...
|
|
double | afc (void) const |
| Return the accumlated failure count. More...
|
|
unsigned int | id (void) const |
| Return propagator id. More...
|
|
PropagatorGroup | group (void) const |
| Return group propagator belongs to. More...
|
|
void | group (PropagatorGroup g) |
| Add propagator to group g. More...
|
|
bool | disabled (void) const |
| Whether propagator is currently disabled. More...
|
|
virtual | ~Actor (void) |
| To avoid warnings. More...
|
|
|
| Pair (Space &home, bool share, Pair &p) |
| Constructor for cloning p. More...
|
|
| TernaryPropagator (Space &home, bool share, TernaryPropagator &p) |
| Constructor for cloning p. More...
|
|
| TernaryPropagator (Home home, IntView x0, IntView x1, IntView x2) |
| Constructor for creation. More...
|
|
| TernaryPropagator (Space &home, bool share, Propagator &p, IntView x0, IntView x1, IntView x2) |
| Constructor for rewriting p during cloning. More...
|
|
| Propagator (Home home) |
| Constructor for posting. More...
|
|
| Propagator (Space &home, bool share, Propagator &p) |
| Constructor for cloning p. More...
|
|
Propagator * | fwd (void) const |
| Return forwarding pointer during copying. More...
|
|
GPI::Info & | gpi (void) |
| Provide access to global propagator information. More...
|
|
Domain consistent pair propagator.
Requires
Definition at line 301 of file element.hh.
◆ Pair() [1/2]
Gecode::Int::Element::Pair::Pair |
( |
Space & |
home, |
|
|
bool |
share, |
|
|
Pair & |
p |
|
) |
| |
|
inlineprotected |
Constructor for cloning p.
Definition at line 68 of file pair.hpp.
◆ Pair() [2/2]
Constructor for posting.
Definition at line 43 of file pair.hpp.
◆ post()
Post propagator
.
Definition at line 47 of file pair.hpp.
◆ copy()
Actor * Gecode::Int::Element::Pair::copy |
( |
Space & |
home, |
|
|
bool |
share |
|
) |
| |
|
virtual |
◆ propagate()
int Gecode::Int::Element::Pair::w |
|
protected |
The documentation for this class was generated from the following files: