Generated on Mon Aug 25 11:35:47 2008 for Gecode by doxygen 1.5.6

Aliases for integer constraints
[Direct modelling]


Detailed Description

Contains definitions of common constraints which have different names in Gecode.


Functions

void Gecode::atmost (Space *home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$.
void Gecode::atmost (Space *home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq m$.
void Gecode::atmost (Space *home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq m$.
void Gecode::atmost (Space *home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq z$.
void Gecode::atmost (Space *home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq z$.
void Gecode::atmost (Space *home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq z$.
void Gecode::atleast (Space *home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq m$.
void Gecode::atleast (Space *home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq m$.
void Gecode::atleast (Space *home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq m$.
void Gecode::atleast (Space *home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq z$.
void Gecode::atleast (Space *home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z$.
void Gecode::atleast (Space *home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq z$.
void Gecode::exactly (Space *home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=m$.
void Gecode::exactly (Space *home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=m$.
void Gecode::exactly (Space *home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=m$.
void Gecode::exactly (Space *home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=z$.
void Gecode::exactly (Space *home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=z$.
void Gecode::exactly (Space *home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=z$.
void Gecode::lex (Space *home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntConLevel icl=ICL_DEF, PropKind pk=PK_DEF)
 Post propagator for lexical order between x and y.


Function Documentation

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
int  n,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$.

Supports domain consistent propagation only.

Definition at line 872 of file minimodel.hh.

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq m$.

Supports domain consistent propagation only.

Definition at line 881 of file minimodel.hh.

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq m$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 893 of file minimodel.hh.

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq z$.

Supports domain consistent propagation only.

Definition at line 902 of file minimodel.hh.

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq z$.

Supports domain consistent propagation only.

Definition at line 911 of file minimodel.hh.

void Gecode::atmost ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq z$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 923 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
int  n,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq m$.

Supports domain consistent propagation only.

Definition at line 933 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq m$.

Supports domain consistent propagation only.

Definition at line 942 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq m$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 954 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq z$.

Supports domain consistent propagation only.

Definition at line 963 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z$.

Supports domain consistent propagation only.

Definition at line 972 of file minimodel.hh.

void Gecode::atleast ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq z$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 984 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
int  n,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=m$.

Supports domain consistent propagation only.

Definition at line 994 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=m$.

Supports domain consistent propagation only.

Definition at line 1003 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=m$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 1015 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=z$.

Supports domain consistent propagation only.

Definition at line 1024 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=z$.

Supports domain consistent propagation only.

Definition at line 1033 of file minimodel.hh.

void Gecode::exactly ( Space *  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=z$.

Supports domain consistent propagation only.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 1045 of file minimodel.hh.

void Gecode::lex ( Space *  home,
const IntVarArgs &  x,
IntRelType  r,
const IntVarArgs &  y,
IntConLevel  icl = ICL_DEF,
PropKind  pk = PK_DEF 
) [inline]

Post propagator for lexical order between x and y.

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 1055 of file minimodel.hh.