Generated on for Gecode by doxygen 1.15.0
cardinality.cpp File Reference
#include <gecode/set.hh>
#include <gecode/set/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\).