sorted.cpp
Go to the documentation of this file.
virtual bool solution(const Assignment &xy) const
Test whether xy is solution
Definition sorted.cpp:69
virtual void post(Gecode::Space &home, Gecode::IntVarArray &xy)
Post constraint on xy.
Definition sorted.cpp:88
virtual void post(Gecode::Space &home, Gecode::IntVarArray &xyz)
Post constraint on xyz.
Definition sorted.cpp:143
virtual bool solution(const Assignment &xyz) const
Test whether xyz is solution
Definition sorted.cpp:107
Relation for sorting integers in increasing order.
Definition sorted.cpp:52
void sorted(Home home, const IntVarArgs &x, const IntVarArgs &y, IntPropLevel ipl=IPL_DEF)
Post propagator that y is x sorted in increasing order.
Definition sorted.cpp:58
