Generated on Sat Jul 28 2018 17:21:52 for Gecode by doxygen 1.8.14

Functions

void Gecode::linear (Home home, const IntVarArgs &x, IntRelType irt, int c, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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, IntPropLevel ipl=IPL_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

◆ linear() [1/8]

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

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

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

◆ linear() [2/8]

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

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

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

◆ linear() [3/8]

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

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.

◆ linear() [4/8]

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

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.

◆ linear() [5/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
int  c,
IntPropLevel  ipl = IPL_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.

◆ linear() [6/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
IntPropLevel  ipl = IPL_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.

◆ linear() [7/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
int  c,
Reify  r,
IntPropLevel  ipl = IPL_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.

◆ linear() [8/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const IntVarArgs x,
IntRelType  irt,
IntVar  y,
Reify  r,
IntPropLevel  ipl = IPL_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.