Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.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)
 
void Gecode::cardinality (Home home, SetVar s, IntVar x, Reify r)