channel.cpp
Go to the documentation of this file.
Simple test for channel (testing all variables).
Definition channel.cpp:49
ChannelFull(int xoff0, int yoff0, Gecode::IntPropLevel ipl)
Construct and register test.
Definition channel.cpp:55
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition channel.cpp:69
virtual bool solution(const Assignment &x) const
Check whether x is solution.
Definition channel.cpp:62
Simple test for channel (testing single set of variables).
Definition channel.cpp:93
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition channel.cpp:109
virtual bool solution(const Assignment &x) const
Check whether x is solution.
Definition channel.cpp:101
Test channel between integer variable and array of Boolean variables
Definition channel.cpp:166
ChannelLinkMulti(TestTags tags, const std::string &s, int min, int max, int o0)
Construct and register test.
Definition channel.cpp:171
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition channel.cpp:193
virtual bool solution(const Assignment &x) const
Check whether x is solution.
Definition channel.cpp:176
Test channel between integer and Boolean variable
Definition channel.cpp:145
virtual bool solution(const Assignment &x) const
Check whether x is solution.
Definition channel.cpp:153
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)
Post constraint on x.
Definition channel.cpp:157
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVar x1)
Post propagator for .
Definition rel.cpp:68
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 min(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:67
void max(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:49
ChannelFull cfd11(1, 1, Gecode::IPL_DOM)
ChannelFull cfd35(3, 5, Gecode::IPL_DOM)
ChannelLinkMulti clmc(TestTags::sweep(),"C",-1, 4,-1)
ChannelFull cfv(0, 0, Gecode::IPL_VAL)
ChannelFull cfd(0, 0, Gecode::IPL_DOM)
ChannelLinkMulti clma(TestTags::standard(),"A", 0, 5, 0)
ChannelFull cfv35(3, 5, Gecode::IPL_VAL)
ChannelFull cfv11(1, 1, Gecode::IPL_VAL)
ChannelShared csd(Gecode::IPL_DOM)
ChannelHalf chd(Gecode::IPL_DOM)
ChannelHalf chv(Gecode::IPL_VAL)
ChannelLinkMulti clmb(TestTags::sweep(),"B", 1, 6, 1)
ChannelShared csv(Gecode::IPL_VAL)
