Generated on Thu Mar 22 10:39:48 2012 for Gecode by doxygen 1.6.3

cardinality.cpp File Reference

(Revision: 10365)

#include <gecode/set.hh>
#include <gecode/set/int.hh>
#include <gecode/int.hh>

Go to the source code of this file.

Namespaces

namespace  Gecode
 

Gecode toplevel namespace


Functions

void Gecode::cardinality (Home home, SetVar x, unsigned int i, unsigned int j)
 Propagates $ i \leq |s| \leq j $.
void Gecode::cardinality (Home home, SetVar s, IntVar x)
 Post propagator for $ |s|=x $.