Intersection and partition constraints
[Using finite integer sets with complete domain representation]
Functions | |
void | Gecode::exactly (Space *home, CpltSetVar x, IntSet &is, unsigned int c) |
Post propagator for ![]() | |
void | Gecode::atmost (Space *home, CpltSetVar x, IntSet &is, unsigned int c) |
Post propagator for ![]() | |
void | Gecode::atmost (Space *home, CpltSetVar x, CpltSetVar y, unsigned int c) |
Post propagator for ![]() | |
void | Gecode::atmostLex (Space *home, CpltSetVar x, CpltSetVar y, unsigned int c, CpltSetRelType lex) |
Post propagator for ![]() | |
GECODE_CPLTSET_EXPORT void | Gecode::atmostLexCard (Space *home, CpltSetVar x, CpltSetVar y, int c, CpltSetRelType lex, int d) |
Post propagator for ![]() | |
GECODE_CPLTSET_EXPORT void | Gecode::atmostCard (Space *home, CpltSetVar x, CpltSetVar y, int c, int d) |
Post propagator for ![]() | |
GECODE_CPLTSET_EXPORT void | Gecode::atmost (Space *home, CpltSetVar x, CpltSetVar y, CpltSetVar z, int c) |
Post propagator for ![]() | |
GECODE_CPLTSET_EXPORT void | Gecode::atmostOne (Space *home, const CpltSetVarArgs &x, int c) |
Post propagator for ![]() ![]() | |
void | Gecode::partition (Space *home, const CpltSetVarArgs &x) |
Post propagator for ![]() | |
void | Gecode::partition (Space *home, const CpltSetVarArgs &x, const CpltSetVar &y) |
Post propagator for ![]() | |
void | Gecode::partitionLex (Space *home, const CpltSetVarArgs &x, CpltSetRelType lex) |
Post propagator for ![]() | |
void | Gecode::partitionLexCard (Space *home, const CpltSetVarArgs &x, CpltSetRelType lex, unsigned int c) |
Post propagator for ![]() | |
void | Gecode::partitionCard (Space *home, const CpltSetVarArgs &x, unsigned int c) |
Post propagator for ![]() |
Function Documentation
GECODE_CPLTSET_EXPORT void Gecode::exactly | ( | Space * | home, | |
CpltSetVar | x, | |||
IntSet & | is, | |||
unsigned int | c | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::atmost | ( | Space * | home, | |
CpltSetVar | x, | |||
IntSet & | is, | |||
unsigned int | c | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::atmost | ( | Space * | home, | |
CpltSetVar | x, | |||
CpltSetVar | y, | |||
unsigned int | c | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::atmostLex | ( | Space * | home, | |
CpltSetVar | x, | |||
CpltSetVar | y, | |||
unsigned int | c, | |||
CpltSetRelType | lex | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::atmostLexCard | ( | Space * | home, | |
CpltSetVar | x, | |||
CpltSetVar | y, | |||
int | c, | |||
CpltSetRelType | lex, | |||
int | d | |||
) |
Post propagator for .
GECODE_CPLTSET_EXPORT void Gecode::atmostCard | ( | Space * | home, | |
CpltSetVar | x, | |||
CpltSetVar | y, | |||
int | c, | |||
int | d | |||
) |
Post propagator for .
GECODE_CPLTSET_EXPORT void Gecode::atmost | ( | Space * | home, | |
CpltSetVar | x, | |||
CpltSetVar | y, | |||
CpltSetVar | z, | |||
int | c | |||
) |
Post propagator for .
GECODE_CPLTSET_EXPORT void Gecode::atmostOne | ( | Space * | home, | |
const CpltSetVarArgs & | x, | |||
int | c | |||
) |
Post propagator for for all
.
- Note:
- The bdd for this constraint becomes exponential with increasing universe and increasing |x|
GECODE_CPLTSET_EXPORT void Gecode::partition | ( | Space * | home, | |
const CpltSetVarArgs & | x | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::partition | ( | Space * | home, | |
const CpltSetVarArgs & | x, | |||
const CpltSetVar & | y | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::partitionLex | ( | Space * | home, | |
const CpltSetVarArgs & | x, | |||
CpltSetRelType | lex | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::partitionLexCard | ( | Space * | home, | |
const CpltSetVarArgs & | x, | |||
CpltSetRelType | lex, | |||
unsigned int | c | |||
) |
GECODE_CPLTSET_EXPORT void Gecode::partitionCard | ( | Space * | home, | |
const CpltSetVarArgs & | x, | |||
unsigned int | c | |||
) |