Generated on Mon Jul 6 18:09:22 2009 for Gecode by doxygen 1.5.9

int.cpp File Reference

(Revision: 8320)

#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
 Gecode toplevel namespace.

Functions

void Gecode::rel (Space &home, SetVar s, IntRelType r, IntVar x)
 Post propagator for $|s|\geq 1 \land \forall i\in s:\ i \sim_r x$.
void Gecode::rel (Space &home, IntVar x, IntRelType r, SetVar s)
 Post propagator for $|s|\geq 1 \land \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, and that s is not empty.
void Gecode::notMin (Space &home, SetVar s, IntVar x)
 Post propagator that propagates that x is not the minimal element of s.
void Gecode::min (Space &home, SetVar s, IntVar x, BoolVar b)
 Post reified propagator for b iff 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, and that s is not empty.
void Gecode::notMax (Space &home, SetVar s, IntVar x)
 Post propagator that propagates that x is not the maximal element of s.
void Gecode::max (Space &home, SetVar s, IntVar x, BoolVar b)
 Post reified propagator for b iff x is the maximal element of s.
void Gecode::channel (Space &home, const IntVarArgs &x, SetVar y)
 Post propagator for $\{x_0,\dots,x_{n-1}\}=y$ and $x_i<x_{i+1}$.
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)$.