Generated on Sat Feb 7 2015 02:01:36 for Gecode by doxygen 1.8.9.1

Functions

void Gecode::linear (Home home, const IntVarArgs &x, IntRelType irt, int c, IntConLevel icl=ICL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} c$. More...
 
void Gecode::linear (Home home, const IntVarArgs &x, IntRelType irt, IntVar y, IntConLevel icl=ICL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} y$. More...
 
void Gecode::linear (Home home, const IntVarArgs &x, IntRelType irt, int c, Reify r, IntConLevel icl=ICL_DEF)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i\sim_{irt} c\right)\equiv r$. More...
 
void Gecode::linear (Home home, const IntVarArgs &x, IntRelType irt, IntVar y, Reify r, IntConLevel icl=ICL_DEF)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i\sim_{irt} y\right)\equiv r$. More...
 
void Gecode::linear (Home home, const IntArgs &a, const IntVarArgs &x, IntRelType irt, int c, IntConLevel icl=ICL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} c$. More...
 
void Gecode::linear (Home home, const IntArgs &a, const IntVarArgs &x, IntRelType irt, IntVar y, IntConLevel icl=ICL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} y$. More...
 
void Gecode::linear (Home home, const IntArgs &a, const IntVarArgs &x, IntRelType irt, int c, Reify r, IntConLevel icl=ICL_DEF)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} c\right)\equiv r$. More...
 
void Gecode::linear (Home home, const IntArgs &a, const IntVarArgs &x, IntRelType irt, IntVar y, Reify r, IntConLevel icl=ICL_DEF)
 Post propagator for $\left(\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} y\right)\equiv r$. More...
 

Detailed Description

All variants for linear constraints over integer variables share the following properties:

Function Documentation

void Gecode::linear ( Home  home,
const IntVarArgs x,
IntRelType  irt,
int  c,
IntConLevel  icl 
)

Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} c$.

Definition at line 45 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
IntConLevel  icl 
)

Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} y$.

Definition at line 101 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntVarArgs x,
IntRelType  irt,
int  c,
Reify  r,
IntConLevel   
)

Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i\sim_{irt} c\right)\equiv r$.

Definition at line 58 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
Reify  r,
IntConLevel   
)

Post propagator for $\left(\sum_{i=0}^{|x|-1}x_i\sim_{irt} y\right)\equiv r$.

Definition at line 131 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
int  c,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} c$.

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

Definition at line 71 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} y$.

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

Definition at line 145 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
int  c,
Reify  r,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\left(\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} c\right)\equiv r$.

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

Definition at line 86 of file linear-int.cpp.

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
Reify  r,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\left(\sum_{i=0}^{|x|-1}a_i\cdot x_i\sim_{irt} y\right)\equiv r$.

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

Definition at line 177 of file linear-int.cpp.