Generated on Thu Apr 11 13:59:31 2019 for Gecode by doxygen 1.6.3

cardinality.cpp File Reference

#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, const SetVarArgs &x, unsigned int i, unsigned int j)
 Propagates $ i \leq |s| \leq j $ for all $0\leq i<|x|$.
void Gecode::cardinality (Home home, SetVar s, IntVar x)
 Post propagator for $ |s|=x $.
void Gecode::cardinality (Home home, SetVar s, IntVar x, Reify r)
 Post reified propagator for $ |s|=x \equiv r$.