Gecode::Set::Int::Match Class Reference
[Set propagators]
#include <int.hh>
Inherits Gecode::Propagator.
Detailed Description
Propagator for the match constraintRequires
#include "gecode/set/int.hh"
Definition at line 109 of file int.hh.
Public Member Functions | |
| virtual Actor * | copy (Space *home, bool) |
| Copy propagator during cloning. | |
| virtual PropCost | cost (void) const |
| Cost function (defined as PC_LINEAR_LO). | |
| virtual size_t | dispose (Space *home) |
| Delete Propagator. | |
| virtual ExecStatus | propagate (Space *home) |
| Perform propagation. | |
Static Public Member Functions | |
| static ExecStatus | post (Space *home, SetView s, ViewArray< Gecode::Int::IntView > &x) |
Post propagator that propagates that s contains the , which are sorted in non-descending order. | |
Protected Member Functions | |
| Match (Space *home, bool share, Match &p) | |
| Constructor for cloning p. | |
| Match (Space *home, SetView, ViewArray< Gecode::Int::IntView > &) | |
| Constructor for posting. | |
Protected Attributes | |
| SetView | x0 |
| SetView for the match. | |
| ViewArray< Gecode::Int::IntView > | xs |
| IntViews that together form the set x0. | |
Constructor & Destructor Documentation
| Gecode::Set::Int::Match::Match | ( | Space * | home, | |
| SetView | , | |||
| ViewArray< Gecode::Int::IntView > & | ||||
| ) | [inline, protected] |
Member Function Documentation
| PropCost Gecode::Set::Int::Match::cost | ( | void | ) | const [virtual] |
| size_t Gecode::Set::Int::Match::dispose | ( | Space * | home | ) | [virtual] |
| ExecStatus Gecode::Set::Int::Match::propagate | ( | Space * | home | ) | [virtual] |
| ExecStatus Gecode::Set::Int::Match::post | ( | Space * | home, | |
| SetView | s, | |||
| ViewArray< Gecode::Int::IntView > & | x | |||
| ) | [inline, static] |
Member Data Documentation
SetView Gecode::Set::Int::Match::x0 [protected] |
ViewArray< Gecode::Int::IntView > Gecode::Set::Int::Match::xs [protected] |
The documentation for this class was generated from the following files:
- gecode/set/int.hh (Revision: 3246)
- gecode/set/int/match.cc (Revision: 3573)
- gecode/set/int/match.icc (Revision: 3188)

, which are sorted in non-descending order.