Generated on Wed Nov 1 15:04:49 2006 for Gecode by doxygen 1.4.5

int.cc File Reference

(Revision: 3188)

#include "gecode/set.hh"
#include "gecode/set/int.hh"
#include "gecode/set/rel.hh"

Go to the source code of this file.

Namespaces

namespace  Gecode

Functions

void Gecode::rel (Space *home, SetVar s, IntRelType r, IntVar x)
 Post propagator for $\forall i\in s:\ i \sim_r x$.
void Gecode::rel (Space *home, IntVar x, IntRelType r, SetVar s)
 Post propagator for $\forall i\in s:\ x \sim_r i$.
void Gecode::min (Space *home, SetVar s, IntVar x)
 Post propagator that propagates that x is the minimal element of s.
void Gecode::max (Space *home, SetVar s, IntVar x)
 Post propagator that propagates that x is the maximal element of s.
void Gecode::match (Space *home, SetVar s, const IntVarArgs &x)
 Post propagator that propagates that s contains the $x_i$ , which are sorted in non-descending order.
void Gecode::channel (Space *home, const IntVarArgs &x, const SetVarArgs &y)
 Post propagator for $x_i=j \Leftrightarrow i\in y_j$.
void Gecode::weights (Space *home, const IntArgs &elements, const IntArgs &weights, SetVar x, IntVar y)
 Post propagator for $y = \mathrm{weight}(x)$.