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

Channel functions
[Direct modeling support]

Functions

BoolVar Gecode::channel (Home home, IntVar x, IntPropLevel ipl=IPL_DEF)
 Return Boolean variable equal to $x$.
IntVar Gecode::channel (Home home, BoolVar b, IntPropLevel ipl=IPL_DEF)
 Return integer variable equal to $b$.
IntVar Gecode::channel (Home home, FloatVar f)
 Return integer variable equal to $f$.
SetVar Gecode::channel (Home home, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF)
 Return set variable equal to $\{x_0,\dots,x_{n-1}\}$.

Function Documentation

BoolVar Gecode::channel ( Home  home,
IntVar  x,
IntPropLevel  ipl = IPL_DEF 
) [inline]

Return Boolean variable equal to $x$.

Definition at line 1740 of file minimodel.hh.

IntVar Gecode::channel ( Home  home,
BoolVar  b,
IntPropLevel  ipl = IPL_DEF 
) [inline]

Return integer variable equal to $b$.

Definition at line 1748 of file minimodel.hh.

IntVar Gecode::channel ( Home  home,
FloatVar  f 
) [inline]

Return integer variable equal to $f$.

Definition at line 1757 of file minimodel.hh.

SetVar Gecode::channel ( Home  home,
const IntVarArgs &  x,
IntPropLevel  ipl = IPL_DEF 
) [inline]

Return set variable equal to $\{x_0,\dots,x_{n-1}\}$.

Definition at line 1770 of file minimodel.hh.