Generated on Tue Oct 22 2013 00:49:11 for Gecode by doxygen 1.8.4
Aliases for integer constraints

Functions

void Gecode::atmost (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$. More...
 
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq m$. More...
 
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq m$. More...
 
void Gecode::atmost (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq z$. More...
 
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq z$. More...
 
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq z$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq m$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq m$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq m$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq z$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z$. More...
 
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq z$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=m$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=m$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=m$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=z$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=z$. More...
 
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=z$. More...
 
void Gecode::lex (Home home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntConLevel icl=ICL_DEF)
 Post lexical order between x and y. More...
 
void Gecode::lex (Home home, const BoolVarArgs &x, IntRelType r, const BoolVarArgs &y, IntConLevel icl=ICL_DEF)
 Post lexical order between x and y. More...
 
void Gecode::values (Home home, const IntVarArgs &x, IntSet y, IntConLevel icl=ICL_DEF)
 Post constraint $\{x_0,\dots,x_{n-1}\}=y$. More...
 

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,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1672 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1681 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1693 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1702 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1711 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1723 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
int  n,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1733 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1742 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1754 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1763 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1772 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1784 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
int  n,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1794 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1803 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1815 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1824 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

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

Supports domain consistent propagation only.

Definition at line 1833 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\#\{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 1845 of file minimodel.hh.

void Gecode::lex ( Home  home,
const IntVarArgs &  x,
IntRelType  r,
const IntVarArgs &  y,
IntConLevel  icl = ICL_DEF 
)
inline

Post lexical order between x and y.

Definition at line 1852 of file minimodel.hh.

void Gecode::lex ( Home  home,
const BoolVarArgs &  x,
IntRelType  r,
const BoolVarArgs &  y,
IntConLevel  icl = ICL_DEF 
)
inline

Post lexical order between x and y.

Definition at line 1859 of file minimodel.hh.

void Gecode::values ( Home  home,
const IntVarArgs &  x,
IntSet  y,
IntConLevel  icl = ICL_DEF 
)
inline

Post constraint $\{x_0,\dots,x_{n-1}\}=y$.

Definition at line 1866 of file minimodel.hh.