Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX > Class Template Reference
[Integer propagators]
#include <linear.hh>
Inherits LinBoolScale< SBAP, SBAN, VX, PC_INT_VAL >.
Detailed Description
template<class SBAP, class SBAN, class VX>
class Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >
Propagator for disequality to Boolean sum with coefficients
Requires
#include "gecode/int/linear.hh"
Definition at line 1566 of file linear.hh.
Public Member Functions | |
NqBoolScale (Space *home, SBAP &p, SBAN &n, VX x, int c) | |
Constructor for creation. | |
NqBoolScale (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, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Return specification for this propagator given a variable map m. | |
Static Public Member Functions | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator according to specification. | |
static Support::Symbol | ati (void) |
Mangled propagator name. | |
static ExecStatus | post (Space *home, SBAP &p, SBAN &n, VX x, int c) |
Post propagator. |
Constructor & Destructor Documentation
template<class SBAP, class SBAN, class VX>
Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::NqBoolScale | ( | Space * | home, | |
SBAP & | p, | |||
SBAN & | n, | |||
VX | x, | |||
int | c | |||
) | [inline] |
template<class SBAP, class SBAN, class VX>
Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::NqBoolScale | ( | Space * | home, | |
bool | share, | |||
Propagator & | pr, | |||
SBAP & | p, | |||
SBAN & | n, | |||
VX | x, | |||
int | c | |||
) | [inline] |
Member Function Documentation
template<class SBAP, class SBAN, class VX>
Actor * Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
Create copy during cloning.
Implements Gecode::Actor.
Definition at line 700 of file bool-scale.icc.
template<class SBAP, class SBAN, class VX>
ExecStatus Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class SBAP, class SBAN, class VX>
Reflection::ActorSpec Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
Return specification for this propagator given a variable map m.
Reimplemented from Gecode::Actor.
Definition at line 734 of file bool-scale.icc.
template<class SBAP, class SBAN, class VX>
void Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class SBAP, class SBAN, class VX>
Support::Symbol Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::ati | ( | void | ) | [inline, static] |
template<class SBAP, class SBAN, class VX>
ExecStatus Gecode::Int::Linear::NqBoolScale< SBAP, SBAN, VX >::post | ( | Space * | home, | |
SBAP & | p, | |||
SBAN & | n, | |||
VX | x, | |||
int | c | |||
) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 7285)
- gecode/int/linear/bool-scale.icc (Revision: 6215)