
Propagator for integer disequal to Boolean sum (cardinality) More...
#include <linear.hh>
Public Member Functions | |
| virtual Actor * | copy (Space &home, bool share) |
| Copy propagator during cloning. More... | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear) More... | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More... | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. More... | |
Public Member Functions inherited from Gecode::Propagator | |
| 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... | |
Public Member Functions inherited from Gecode::Actor | |
Static Public Member Functions | |
| static ExecStatus | post (Home home, ViewArray< VX > &b, int c) |
Post propagator for . More... | |
Static Public Member Functions inherited from Gecode::Actor | |
| 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 | |
| bool | resubscribe (Space &home, VX &y) |
| Update subscription. More... | |
| NqBoolInt (Home home, ViewArray< VX > &b, int c) | |
| Constructor for posting. More... | |
| NqBoolInt (Space &home, bool share, NqBoolInt< VX > &p) | |
| Constructor for cloning p. More... | |
Protected Member Functions inherited from Gecode::BinaryPropagator< VX, PC_INT_VAL > | |
| BinaryPropagator (Space &home, bool share, BinaryPropagator &p) | |
| Constructor for cloning p. More... | |
| BinaryPropagator (Home home, VXx0, VXx1) | |
| Constructor for creation. More... | |
| BinaryPropagator (Space &home, bool share, Propagator &p, VXx0, VXx1) | |
| Constructor for rewriting p during cloning. More... | |
Protected Member Functions inherited from Gecode::Propagator | |
| 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 | |
| ViewArray< VX > | x |
| Views not yet subscribed to. More... | |
| int | c |
| Righthandside. More... | |
Protected Attributes inherited from Gecode::BinaryPropagator< VX, PC_INT_VAL > | |
| VX | x0 |
| Two views. More... | |
| VX | x1 |
Propagator for integer disequal to Boolean sum (cardinality)
Requires
|
inlineprotected |
Constructor for posting.
Definition at line 339 of file bool-int.hpp.
|
inlineprotected |
Constructor for cloning p.
Definition at line 356 of file bool-int.hpp.
|
inlineprotected |
Update subscription.
Definition at line 414 of file bool-int.hpp.
|
virtual |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 402 of file bool-int.hpp.
|
virtual |
Cost function (defined as low linear)
Reimplemented from Gecode::BinaryPropagator< VX, PC_INT_VAL >.
Definition at line 408 of file bool-int.hpp.
|
virtual |
|
inlinestatic |
Post propagator for
.
Definition at line 375 of file bool-int.hpp.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::BinaryPropagator< VX, PC_INT_VAL >.
Definition at line 349 of file bool-int.hpp.
|
protected |
|
protected |