Aliases for integer constraints
[Direct modeling support]
Functions | |
void | Gecode::atmost (Home home, const IntVarArgs &x, int n, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atmost (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, int n, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, int n, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF) |
Post constraint . | |
void | Gecode::lex (Home home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntPropLevel ipl=IPL_DEF) |
Post lexical order between x and y. | |
void | Gecode::lex (Home home, const BoolVarArgs &x, IntRelType r, const BoolVarArgs &y, IntPropLevel ipl=IPL_DEF) |
Post lexical order between x and y. | |
void | Gecode::values (Home home, const IntVarArgs &x, IntSet y, IntPropLevel ipl=IPL_DEF) |
Post constraint . |
Detailed Description
Contains definitions of common constraints which have different names in Gecode.
Function Documentation
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atmost | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::atleast | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
int | m, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
int | n, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntVar | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
void Gecode::exactly | ( | Home | home, | |
const IntVarArgs & | x, | |||
const IntArgs & | y, | |||
IntVar | z, | |||
IntPropLevel | ipl = IPL_DEF | |||
) | [inline] |
Post constraint .
Supports domain consistent propagation only.
Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.
void Gecode::lex | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntRelType | r, | |||
const IntVarArgs & | y, | |||
IntPropLevel | ipl | |||
) | [inline] |
Post lexical order between x and y.
void Gecode::lex | ( | Home | home, | |
const BoolVarArgs & | x, | |||
IntRelType | r, | |||
const BoolVarArgs & | y, | |||
IntPropLevel | ipl | |||
) | [inline] |
Post lexical order between x and y.
void Gecode::values | ( | Home | home, | |
const IntVarArgs & | x, | |||
IntSet | y, | |||
IntPropLevel | ipl | |||
) | [inline] |
Post constraint .