Generated on Fri Jul 21 2023 00:00:00 for Gecode by doxygen 1.9.7

Functions

void Gecode::linear (Home home, const BoolVarArgs &x, IntRelType irt, int c, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} c$.
 
void Gecode::linear (Home home, const BoolVarArgs &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$.
 
void Gecode::linear (Home home, const BoolVarArgs &x, IntRelType irt, IntVar y, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\sum_{i=0}^{|x|-1}x_i\sim_{irt} y$.
 
void Gecode::linear (Home home, const BoolVarArgs &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$.
 
void Gecode::linear (Home home, const IntArgs &a, const BoolVarArgs &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$.
 
void Gecode::linear (Home home, const IntArgs &a, const BoolVarArgs &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$.
 
void Gecode::linear (Home home, const IntArgs &a, const BoolVarArgs &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$.
 
void Gecode::linear (Home home, const IntArgs &a, const BoolVarArgs &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$.
 

Detailed Description

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

Function Documentation

◆ linear() [1/8]

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

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

Definition at line 41 of file linear-bool.cpp.

◆ linear() [2/8]

void Gecode::linear ( Home  home,
const BoolVarArgs 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$.

Definition at line 125 of file linear-bool.cpp.

◆ linear() [3/8]

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

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

Definition at line 56 of file linear-bool.cpp.

◆ linear() [4/8]

void Gecode::linear ( Home  home,
const BoolVarArgs 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$.

Definition at line 140 of file linear-bool.cpp.

◆ linear() [5/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const BoolVarArgs 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-bool.cpp.

◆ linear() [6/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const BoolVarArgs 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 155 of file linear-bool.cpp.

◆ linear() [7/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const BoolVarArgs 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 90 of file linear-bool.cpp.

◆ linear() [8/8]

void Gecode::linear ( Home  home,
const IntArgs a,
const BoolVarArgs 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 173 of file linear-bool.cpp.