Propagator for the sorted channel constraint More...
#include <channel.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool) |
Copy propagator during cloning. More... | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (defined as PC_LINEAR_LO) More... | |
virtual size_t | dispose (Space &home) |
Delete Propagator. More... | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. More... | |
![]() | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() |
Static Public Member Functions | |
static ExecStatus | post (Home home, View s, ViewArray< Gecode::Int::IntView > &x) |
Post propagator that propagates that s contains the ![]() | |
![]() | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. More... | |
static void | operator delete (void *p, Space &home) |
No-op for exceptions. More... | |
Protected Member Functions | |
ChannelSorted (Space &home, bool share, ChannelSorted &p) | |
Constructor for cloning p. More... | |
ChannelSorted (Home home, View, ViewArray< Gecode::Int::IntView > &) | |
Constructor for posting. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Protected Attributes | |
View | x0 |
SetView for the match. More... | |
ViewArray< Gecode::Int::IntView > | xs |
IntViews that together form the set x0. More... | |
Propagator for the sorted channel constraint
Requires
Definition at line 64 of file channel.hh.
|
inlineprotected |
Constructor for cloning p.
Definition at line 61 of file sorted.hpp.
|
inlineprotected |
Constructor for posting.
Definition at line 52 of file sorted.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 103 of file sorted.hpp.
|
virtual |
Cost function (defined as PC_LINEAR_LO)
Implements Gecode::Propagator.
Definition at line 88 of file sorted.hpp.
|
inlinevirtual |
|
virtual |
|
inlinestatic |
Post propagator that propagates that s contains the , which are sorted in non-descending order.
Definition at line 69 of file sorted.hpp.
|
protected |
SetView for the match.
Definition at line 67 of file channel.hh.
|
protected |
IntViews that together form the set x0.
Definition at line 69 of file channel.hh.