Generated on Fri Oct 19 11:25:36 2018 for Gecode by doxygen 1.6.3

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 $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq z$.
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq z$.
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, int n, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq z$.
void Gecode::exactly (Home home, const IntVarArgs &x, int n, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, int n, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=z$.
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=z$.
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntPropLevel ipl=IPL_DEF)
 Post constraint $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=z$.
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 $\{x_0,\dots,x_{n-1}\}=y$.

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 $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$.

Supports domain consistent propagation only.

Definition at line 1799 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1808 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntPropLevel  ipl = IPL_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 1820 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1829 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1838 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntPropLevel  ipl = IPL_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 1850 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
int  n,
int  m,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1860 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1869 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntPropLevel  ipl = IPL_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 1881 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1890 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1899 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntPropLevel  ipl = IPL_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 1911 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
int  n,
int  m,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1921 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
IntVar  y,
int  m,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1930 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntPropLevel  ipl = IPL_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 1942 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
int  n,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1951 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
IntVar  y,
IntVar  z,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1960 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntPropLevel  ipl = IPL_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 1972 of file minimodel.hh.

void Gecode::lex ( Home  home,
const IntVarArgs &  x,
IntRelType  r,
const IntVarArgs &  y,
IntPropLevel  ipl = IPL_DEF 
) [inline]

Post lexical order between x and y.

Definition at line 1979 of file minimodel.hh.

void Gecode::lex ( Home  home,
const BoolVarArgs &  x,
IntRelType  r,
const BoolVarArgs &  y,
IntPropLevel  ipl = IPL_DEF 
) [inline]

Post lexical order between x and y.

Definition at line 1986 of file minimodel.hh.

void Gecode::values ( Home  home,
const IntVarArgs &  x,
IntSet  y,
IntPropLevel  ipl = IPL_DEF 
) [inline]

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

Definition at line 1993 of file minimodel.hh.