int.cpp
Go to the documentation of this file.
Range iterator for computing intersection (binary).
Definition ranges-inter.hpp:44
A complement iterator spezialized for the BndSet limits.
Definition var-imp.hpp:293
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x.
Definition int.cpp:82
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:78
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:187
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x for b.
Definition int.cpp:191
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x for r.
Definition int.cpp:351
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:344
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x.
Definition int.cpp:147
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:143
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:101
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x.
Definition int.cpp:105
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:212
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:167
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:124
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:265
virtual void post(Space &home, SetVarArray &x, IntVarArray &y, Reify r)
Post reified constraint on x for r.
Definition int.cpp:272
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition int.cpp:442
Weights(const char *t, IntArgs &el, IntArgs &w, int min=-10000, int max=10000)
Create and register test.
Definition int.cpp:431
SetTest(const std::string &s, int a, const Gecode::IntSet &d, bool r=false, int w=0)
Constructor.
Definition set.hh:312
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVar x1)
Post propagator for .
Definition rel.cpp:68
void weights(Home home, IntSharedArray elements, IntSharedArray weights, SetVar x, IntVar y)
Post propagator for .
Definition int.cpp:292
void notMin(Home home, SetVar s, IntVar x)
Post propagator that x is not the minimal element of s.
Definition int.cpp:235
void notMax(Home home, SetVar s, IntVar x)
Post propagator that x is not the maximal element of s.
Definition int.cpp:267
bool subset(I &i, J &j)
Check whether range iterator i is subset of range iterator j.
Definition ranges-operations.hpp:97
bool equal(I &i, J &j)
Check whether range iterators i and j are equal.
Definition ranges-operations.hpp:84
Gecode toplevel namespace
void min(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:67
LinIntExpr sum(const IntVarArgs &x)
Construct linear expression as sum of integer variables.
Definition int-expr.cpp:953
void max(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:49
IntRel _intrel_gq(Gecode::IRT_GQ, false)
Rel _rel_sup(Gecode::SRT_SUP, false)
IntRel _intrel_nq(Gecode::IRT_NQ, false)
IntArgs w1(7, w1v)
NoElem _noelem("Int::NoElem")
int weightI(const IntArgs &elements, const IntArgs &weights, I &iter)
Definition int.cpp:409
Min _min("Int::Min")
Card _card("Int::Card")
IntRel _intrel_eq(Gecode::IRT_EQ, false)
IntRel _intrel_gr(Gecode::IRT_GR, false)
IntRel _intrel_nqs(Gecode::IRT_NQ, true)
Weights _weights1("Int::Weights::1", el1, w1)
IntArgs el1(7, el1v)
IntArgs w2(7, w2v)
Weights _weights4("Int::Weights::4", el1, w4)
NotMin _notmin("Int::NotMin")
Rel _rel_nq(Gecode::SRT_NQ, false)
Rel _rel_disj(Gecode::SRT_DISJ, false)
IntRel _intrel_gqs(Gecode::IRT_GQ, true)
NotMax _notmax("Int::NotMax")
Rel _rel_cmpl(Gecode::SRT_CMPL, false)
Rel _rel_sups(Gecode::SRT_SUP, true)
Weights _weights3("Int::Weights::3", el1, w2, 3)
Rel _rel_subs(Gecode::SRT_SUB, true)
Elem _elem("Int::Elem")
Rel _rel_eqs(Gecode::SRT_EQ, true)
IntRel _intrel_grs(Gecode::IRT_GR, true)
Rel _rel_eq(Gecode::SRT_EQ, false)
IntRel _intrel_le(Gecode::IRT_LE, false)
IntRel _intrel_eqs(Gecode::IRT_EQ, true)
IntRel _intrel_les(Gecode::IRT_LE, true)
Rel _rel_cmpls(Gecode::SRT_CMPL, true)
IntArgs w4(7, w4v)
IntRel _intrel_lq(Gecode::IRT_LQ, false)
Max _max("Int::Max")
Weights _weights2("Int::Weights::2", el1, w2)
Rel _rel_sub(Gecode::SRT_SUB, false)
IntRel _intrel_lqs(Gecode::IRT_LQ, true)
Rel _rel_disjs(Gecode::SRT_DISJ, true)
Rel _rel_nqs(Gecode::SRT_NQ, true)
