channel.cpp
Go to the documentation of this file.
Range iterator for singleton range.
Definition ranges-singleton.hpp:42
ArrayTraits< VarArgArray< Var > >::ArgsType slice(int start, int inc=1, int n=-1)
Definition array.hpp:965
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition channel.cpp:162
ChannelBool(TestTags tags, const char *t, const IntSet &d, int _isize)
Create and register test.
Definition channel.cpp:140
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition channel.cpp:144
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition channel.cpp:126
ChannelInt(const char *t, const IntSet &d, int _ssize, int _isize)
Create and register test.
Definition channel.cpp:105
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition channel.cpp:108
ChannelSet(const char *t, const IntSet &d, int x0size, int x1size)
Create and register test.
Definition channel.cpp:180
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition channel.cpp:183
virtual void post(Space &home, SetVarArray &x, IntVarArray &)
Post constraint on x.
Definition channel.cpp:203
virtual bool solution(const SetAssignment &x) const
Test whether x is solution
Definition channel.cpp:68
virtual void post(Space &home, SetVarArray &x, IntVarArray &y)
Post constraint on x.
Definition channel.cpp:93
const Test::Int::Assignment & ints(void) const
Return assignment for integer variables.
Definition set.hh:185
SetTest(const std::string &s, int a, const Gecode::IntSet &d, bool r=false, int w=0)
Constructor.
Definition set.hh:312
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
void channel(Home home, FloatVar x0, IntVar x1)
Post propagator for channeling a float and an integer variable .
Definition channel.cpp:41
void channelSorted(Home home, const IntVarArgs &x, SetVar y)
Post propagator for and .
Definition channel.cpp:45
ChannelSet _channelSet33("Channel::Set::3::3", d_12, 2, 3)
ChannelSet _channelSet12("Channel::Set::1::2", d1, 2, 2)
ChannelBool _channelbool3(TestTags::sweep(),"Channel::Bool::3", d4, 5)
ChannelSet _channelSet22("Channel::Set::2::2", d3, 2, 2)
ChannelSet _channelSet32("Channel::Set::3::2", d_12, 2, 2)
ChannelInt _channelint1("Channel::Int::1", d2, 2, 3)
ChannelInt _channelint2("Channel::Int::2", d3, 3, 3)
ChannelBool _channelbool2(TestTags::sweep(),"Channel::Bool::2", d3, 3)
ChannelSet _channelSet13("Channel::Set::1::3", d1, 2, 3)
ChannelSet _channelSet23("Channel::Set::2::3", d3, 2, 3)
ChannelBool _channelbool1(TestTags::standard(),"Channel::Bool::1", d2, 3)
ChannelSorted _channelSorted("Channel::Sorted")
