nvalues.cpp
Go to the documentation of this file.
Test number of values of Boolean variables equal to integer
Definition nvalues.cpp:132
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition nvalues.cpp:163
virtual bool solution(const Assignment &x) const
Test whether x is solution
Definition nvalues.cpp:145
Test number of values of Boolean variables equal to integer variable
Definition nvalues.cpp:173
virtual bool solution(const Assignment &x) const
Test whether x is solution
Definition nvalues.cpp:183
virtual void post(Gecode::Space &home, Gecode::IntVarArray &xy)
Post constraint on xy.
Definition nvalues.cpp:201
Test number of values of integer variables equal to integer
Definition nvalues.cpp:48
IntInt(TestTags tags, int n, int m0, Gecode::IntRelType irt0)
Create and register test.
Definition nvalues.cpp:56
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition nvalues.cpp:88
virtual Assignment * assignment(void) const
Create and register initial assignment.
Definition nvalues.cpp:66
Test number of values of integer variables equal to integer variable
Definition nvalues.cpp:94
IntVar(TestTags tags, int n, Gecode::IntRelType irt0)
Create and register test.
Definition nvalues.cpp:100
virtual bool solution(const Assignment &x) const
Test whether x is solution
Definition nvalues.cpp:107
virtual void post(Gecode::Space &home, Gecode::IntVarArray &xy)
Post constraint on xy.
Definition nvalues.cpp:122
static bool cmp(T x, Gecode::IntRelType r, T y)
Compare x and y with respect to r.
Definition int.hpp:296
Gecode toplevel namespace
void channel(Home home, FloatVar x0, IntVar x1)
Post propagator for channeling a float and an integer variable .
Definition channel.cpp:41
void nvalues(Home home, const IntVarArgs &x, IntRelType irt, int y, IntPropLevel ipl=IPL_DEF)
Post propagator for .
Definition nvalues.cpp:40
