Gecode::Int::Distinct::EqIte Class Reference
[Integer propagators]
Equal-if-then-else domain-consistent propagator. More...
#include <distinct.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as high ternary). | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, IntView x0, IntView x1, int c0, int c1) |
Post if-then-else propagator. | |
Protected Member Functions | |
EqIte (Space &home, bool share, EqIte &p) | |
Constructor for cloning p. | |
EqIte (Home home, IntView x0, IntView x1, int c0, int c1) | |
Constructor for creation. | |
Protected Attributes | |
int | c0 |
The integer constant. | |
int | c1 |
Detailed Description
Equal-if-then-else domain-consistent propagator.
Implements the propagator .
Requires
#include <gecode/int/distinct.hh>
Definition at line 312 of file distinct.hh.
Constructor & Destructor Documentation
Member Function Documentation
PropCost Gecode::Int::Distinct::EqIte::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [virtual] |
Cost function (defined as high ternary).
Reimplemented from Gecode::BinaryPropagator< IntView, PC_INT_DOM >.
ExecStatus Gecode::Int::Distinct::EqIte::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [virtual] |
ExecStatus Gecode::Int::Distinct::EqIte::post | ( | Home | home, | |
IntView | x0, | |||
IntView | x1, | |||
int | c0, | |||
int | c1 | |||
) | [inline, static] |
Member Data Documentation
int Gecode::Int::Distinct::EqIte::c0 [protected] |
The integer constant.
Definition at line 317 of file distinct.hh.
int Gecode::Int::Distinct::EqIte::c1 [protected] |
Definition at line 317 of file distinct.hh.
The documentation for this class was generated from the following files:
- gecode/int/distinct.hh (Revision: 15137)
- gecode/int/distinct/eqite.cpp (Revision: 14967)
- gecode/int/distinct/eqite.hpp (Revision: 14823)