TaskModelIntElement Element constraints SharedArray< int > typedef SharedArray<int> Gecode::IntSharedArray IntSharedArray Arrays of integers that can be shared among several element constraints. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, IntSharedArray n, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF) element Home home IntSharedArray n IntVar x0 IntVar x1 IntConLevel icl ICL_DEF Post domain consistent propagator for $ n_{x_0}=x_1$. Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, IntSharedArray n, IntVar x0, BoolVar x1, IntConLevel icl=ICL_DEF) element Home home IntSharedArray n IntVar x0 BoolVar x1 IntConLevel icl ICL_DEF Post domain consistent propagator for $ n_{x_0}=x_1$. Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, IntSharedArray n, IntVar x0, int x1, IntConLevel icl=ICL_DEF) element Home home IntSharedArray n IntVar x0 int x1 IntConLevel icl ICL_DEF Post domain consistent propagator for $ n_{x_0}=x_1$. Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const IntVarArgs &x, IntVar y0, IntVar y1, IntConLevel icl=ICL_DEF) element Home home const IntVarArgs & x IntVar y0 IntVar y1 IntConLevel icl ICL_DEF Post propagator for $ x_{y_0}=y_1$. Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default). GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const IntVarArgs &x, IntVar y0, int y1, IntConLevel icl=ICL_DEF) element Home home const IntVarArgs & x IntVar y0 int y1 IntConLevel icl ICL_DEF Post propagator for $ x_{y_0}=y_1$. Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default). GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const BoolVarArgs &x, IntVar y0, BoolVar y1, IntConLevel icl=ICL_DEF) element Home home const BoolVarArgs & x IntVar y0 BoolVar y1 IntConLevel icl ICL_DEF Post domain consistent propagator for $ x_{y_0}=y_1$. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const BoolVarArgs &x, IntVar y0, int y1, IntConLevel icl=ICL_DEF) element Home home const BoolVarArgs & x IntVar y0 int y1 IntConLevel icl ICL_DEF Post domain consistent propagator for $ x_{y_0}=y_1$. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, IntSharedArray a, IntVar x, int w, IntVar y, int h, IntVar z, IntConLevel icl=ICL_DEF) element Home home IntSharedArray a IntVar x int w IntVar y int h IntVar z IntConLevel icl ICL_DEF Post domain consistent propagator for $ a_{x+w\cdot y}=z$. If a is regarded as a two-dimensional array in row-major order of width w and height h, then z is constrained to be the element in column x and row y.Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.Throws an exception of type Int::ArgumentSizeMismatch, if $ w\cdot h\neq|a|$. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, IntSharedArray a, IntVar x, int w, IntVar y, int h, BoolVar z, IntConLevel icl=ICL_DEF) element Home home IntSharedArray a IntVar x int w IntVar y int h BoolVar z IntConLevel icl ICL_DEF Post domain consistent propagator for $ a_{x+w\cdot y}=z$. If a is regarded as a two-dimensional array in row-major order of width w and height h, then z is constrained to be the element in column x and row y.Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.Throws an exception of type Int::ArgumentSizeMismatch, if $ w\cdot h\neq|a|$. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const IntVarArgs &a, IntVar x, int w, IntVar y, int h, IntVar z, IntConLevel icl=ICL_DEF) element Home home const IntVarArgs & a IntVar x int w IntVar y int h IntVar z IntConLevel icl ICL_DEF Post propagator for $ a_{x+w\cdot y}=z$. If a is regarded as a two-dimensional array in row-major order of width w and height h, then z is constrained to be the element in column x and row y.Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default).Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.Throws an exception of type Int::ArgumentSizeMismatch, if $ w\cdot h\neq|a|$. GECODE_INT_EXPORT void GECODE_INT_EXPORT void Gecode::element (Home home, const BoolVarArgs &a, IntVar x, int w, IntVar y, int h, BoolVar z, IntConLevel icl=ICL_DEF) element Home home const BoolVarArgs & a IntVar x int w IntVar y int h BoolVar z IntConLevel icl ICL_DEF Post domain consistent propagator for $ a_{x+w\cdot y}=z$. If a is regarded as a two-dimensional array in row-major order of width w and height h, then z is constrained to be the element in column x and row y.Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.Throws an exception of type Int::ArgumentSizeMismatch, if $ w\cdot h\neq|a|$.