Generated on Fri May 13 2011 22:41:25 for Gecode by doxygen 1.7.1

Aliases for integer constraints
[Direct modeling support]

Functions

void Gecode::atmost (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq m$.
void Gecode::atmost (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\leq z$.
void Gecode::atmost (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\leq z$.
void Gecode::atmost (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\leq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq m$.
void Gecode::atleast (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}\geq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}\geq z$.
void Gecode::atleast (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}\geq z$.
void Gecode::exactly (Home home, const IntVarArgs &x, int n, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, int m, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=m$.
void Gecode::exactly (Home home, const IntVarArgs &x, int n, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=n\}=z$.
void Gecode::exactly (Home home, const IntVarArgs &x, IntVar y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y\}=z$.
void Gecode::exactly (Home home, const IntVarArgs &x, const IntArgs &y, IntVar z, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{i\in\{0,\ldots,|x|-1\}\;|\;x_i=y_i\}=z$.
void Gecode::lex (Home home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntConLevel icl=ICL_DEF)
 Post propagator for lexical order between x and y.
void Gecode::lex (Home home, const BoolVarArgs &x, IntRelType r, const BoolVarArgs &y, IntConLevel icl=ICL_DEF)
 Post propagator for lexical order between x and 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,
IntConLevel  icl = ICL_DEF 
) [inline]

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

Supports domain consistent propagation only.

Definition at line 1338 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1347 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_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 1359 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1368 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1377 of file minimodel.hh.

void Gecode::atmost ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_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 1389 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1399 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1408 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_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 1420 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1429 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1438 of file minimodel.hh.

void Gecode::atleast ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_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 1450 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1460 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1469 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
int  m,
IntConLevel  icl = ICL_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 1481 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1490 of file minimodel.hh.

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

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

Supports domain consistent propagation only.

Definition at line 1499 of file minimodel.hh.

void Gecode::exactly ( Home  home,
const IntVarArgs &  x,
const IntArgs &  y,
IntVar  z,
IntConLevel  icl = ICL_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 1511 of file minimodel.hh.

void Gecode::lex ( Home  home,
const IntVarArgs &  x,
IntRelType  r,
const IntVarArgs &  y,
IntConLevel  icl = ICL_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 1521 of file minimodel.hh.

void Gecode::lex ( Home  home,
const BoolVarArgs &  x,
IntRelType  r,
const BoolVarArgs &  y,
IntConLevel  icl = ICL_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 1531 of file minimodel.hh.