
Propagator for equality to Boolean sum with coefficients More...
#include <linear.hh>
Public Member Functions | |
| EqBoolScale (Home home, SBAP &p, SBAN &n, VX x, int c) | |
| Constructor for creation. More... | |
| EqBoolScale (Space &home, bool share, Propagator &pr, SBAP &p, SBAN &n, VX x, int c) | |
| Constructor for cloning pr. More... | |
| virtual Actor * | copy (Space &home, bool share) |
| Create copy during cloning. More... | |
| virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
| Perform propagation. More... | |
Public Member Functions inherited from Gecode::Int::Linear::LinBoolScale< SBAP, SBAN, VX, PC_INT_BND > | |
| LinBoolScale (Home home, SBAP &p, SBAN &n, VX x, int c) | |
| Constructor for creation. More... | |
| LinBoolScale (Space &home, bool share, Propagator &pr, SBAP &p, SBAN &n, VX x, int c) | |
| Constructor for cloning pr. More... | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as low linear) 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, SBAP &p, SBAN &n, VX x, int c) |
| Post propagator. 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... | |
Additional Inherited Members | |
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 inherited from Gecode::Int::Linear::LinBoolScale< SBAP, SBAN, VX, PC_INT_BND > | |
| SBAP | p |
| Positive Boolean views with coefficients on left-hand side. More... | |
| SBAN | n |
| Negative Boolean views with coefficients on left-hand side. More... | |
| VX | x |
| Integer view on right-hand side. More... | |
| int | c |
| Integer constant on right-hand side. More... | |
Propagator for equality to Boolean sum with coefficients
Requires
|
inline |
Constructor for creation.
Definition at line 198 of file bool-scale.hpp.
|
inline |
Constructor for cloning pr.
Definition at line 205 of file bool-scale.hpp.
|
virtual |
Create copy during cloning.
Implements Gecode::Actor.
Definition at line 213 of file bool-scale.hpp.
|
virtual |
|
static |
Post propagator.
Definition at line 387 of file bool-scale.hpp.