Gecode::Int::Element::Pair Class Reference
[Integer propagators]
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. |
Detailed Description
Domain consistent pair propagator.
Requires
#include <gecode/int/element.hh>
Definition at line 301 of file element.hh.
Constructor & Destructor Documentation
Member Function Documentation
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] |
Member Data Documentation
int Gecode::Int::Element::Pair::w [protected] |
Width.
Definition at line 308 of file element.hh.
The documentation for this class was generated from the following files:
- gecode/int/element.hh (Revision: 15137)
- gecode/int/element/pair.cpp (Revision: 14967)
- gecode/int/element/pair.hpp (Revision: 10000)