precede.cpp
Go to the documentation of this file.
Range iterator for singleton range.
Definition ranges-singleton.hpp:42
virtual void post(Gecode::Space &home, Gecode::SetVarArray &x, Gecode::IntVarArray &)
Post constraint on x.
Definition precede.cpp:115
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition precede.cpp:104
virtual void post(Gecode::Space &home, Gecode::SetVarArray &x, Gecode::IntVarArray &)
Post constraint on x.
Definition precede.cpp:81
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition precede.cpp:70
SetTest(const std::string &s, int a, const Gecode::IntSet &d, bool r=false, int w=0)
Constructor.
Definition set.hh:312
void precede(Home home, const IntVarArgs &x, int s, int t, IntPropLevel=IPL_DEF)
Post propagator that s precedes t in x.
Definition precede.cpp:43
bool subset(I &i, J &j)
Check whether range iterator i is subset of range iterator j.
Definition ranges-operations.hpp:97
Gecode toplevel namespace
Single _a(2, 3)
Multi _d(TestTags::sweep(), Gecode::IntArgs({3, 2, 1}))
Single _b(0, 3)
Multi _e(TestTags::sweep(), Gecode::IntArgs({4, 2, 3, 1}))
Multi _c(TestTags::standard(), Gecode::IntArgs({1, 2, 3}))
