Domain consistent pair propagator. More...
#include <element.hh>
Public Member Functions | |
Pair (Home home, IntView x0, IntView x1, IntView x2, int w) | |
Constructor for posting. | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, IntView x0, IntView x1, IntView x2, int w, int h) |
Post propagator ![]() | |
Protected Member Functions | |
Pair (Space &home, bool share, Pair &p) | |
Constructor for cloning p. | |
Protected Attributes | |
int | w |
Width. |
Domain consistent pair propagator.
Requires
#include <gecode/int/element.hh>
Definition at line 352 of file element.hh.
ExecStatus Gecode::Int::Element::Pair::post | ( | Home | home, |
IntView | x0, | ||
IntView | x1, | ||
IntView | x2, | ||
int | w, | ||
int | h | ||
) | [inline, static] |
ExecStatus Gecode::Int::Element::Pair::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
int Gecode::Int::Element::Pair::w [protected] |
Width.
Definition at line 359 of file element.hh.