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. | |
EqBoolScale (Space &home, bool share, Propagator &pr, SBAP &p, SBAN &n, VX x, int c) | |
Constructor for cloning pr. | |
virtual Actor * | copy (Space &home, bool share) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, SBAP &p, SBAN &n, VX x, int c) |
Post propagator. |
Propagator for equality to Boolean sum with coefficients
Requires
#include <gecode/int/linear.hh>
Gecode::Int::Linear::EqBoolScale< SBAP, SBAN, VX >::EqBoolScale | ( | Home | home, |
SBAP & | p, | ||
SBAN & | n, | ||
VX | x, | ||
int | c | ||
) | [inline] |
Constructor for creation.
Definition at line 198 of file bool-scale.hpp.
Gecode::Int::Linear::EqBoolScale< SBAP, SBAN, VX >::EqBoolScale | ( | Space & | home, |
bool | share, | ||
Propagator & | pr, | ||
SBAP & | p, | ||
SBAN & | n, | ||
VX | x, | ||
int | c | ||
) | [inline] |
Constructor for cloning pr.
Definition at line 205 of file bool-scale.hpp.
Actor * Gecode::Int::Linear::EqBoolScale< SBAP, SBAN, VX >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
Create copy during cloning.
Implements Gecode::Actor.
Definition at line 213 of file bool-scale.hpp.
ExecStatus Gecode::Int::Linear::EqBoolScale< SBAP, SBAN, VX >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Int::Linear::EqBoolScale< SBAP, SBAN, VX >::post | ( | Home | home, |
SBAP & | p, | ||
SBAN & | n, | ||
VX | x, | ||
int | c | ||
) | [static] |
Post propagator.
Definition at line 387 of file bool-scale.hpp.