Gecode::Int::Linear::GqBoolInt< VX >::Speed Class Reference
#include <linear.hh>
Inherits Gecode::Int::Linear::SpeedLinBoolInt< VX >.
Detailed Description
template<class VX>
class Gecode::Int::Linear::GqBoolInt< VX >::Speed
Propagator using more memory but with constant runtime.
Definition at line 1062 of file linear.hh.
Public Member Functions | |
| Speed (Space *home, bool share, Speed &p) | |
| Constructor for cloning p. | |
| Speed (Space *home, ViewArray< VX > &x, int c) | |
| Constructor for creation. | |
| virtual Actor * | copy (Space *home, bool share) |
| Create copy during cloning. | |
| virtual ExecStatus | advise (Space *home, Advisor *a, const Delta *d) |
| Give advice to propagator. | |
| virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
| Perform propagation. | |
| virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
| Specification for this propagator. | |
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. | |
Constructor & Destructor Documentation
template<class VX>
| Gecode::Int::Linear::GqBoolInt< VX >::Speed::Speed | ( | Space * | home, | |
| bool | share, | |||
| Speed & | p | |||
| ) |
Constructor for cloning p.
template<class VX>
| Gecode::Int::Linear::GqBoolInt< VX >::Speed::Speed | ( | Space * | home, | |
| ViewArray< VX > & | x, | |||
| int | c | |||
| ) | [inline] |
Member Function Documentation
template<class VX>
| Actor * Gecode::Int::Linear::GqBoolInt< VX >::Speed::copy | ( | Space * | home, | |
| bool | share | |||
| ) | [inline, virtual] |
template<class VX>
| ExecStatus Gecode::Int::Linear::GqBoolInt< VX >::Speed::advise | ( | Space * | home, | |
| Advisor * | a, | |||
| const Delta * | d | |||
| ) | [inline, virtual] |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
Definition at line 305 of file bool-int.icc.
template<class VX>
| ExecStatus Gecode::Int::Linear::GqBoolInt< VX >::Speed::propagate | ( | Space * | home, | |
| ModEventDelta | med | |||
| ) | [inline, virtual] |
template<class VX>
| Reflection::ActorSpec Gecode::Int::Linear::GqBoolInt< VX >::Speed::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m | |||
| ) | const [inline, virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 289 of file bool-int.icc.
template<class VX>
| void Gecode::Int::Linear::GqBoolInt< VX >::Speed::post | ( | Space * | home, | |
| Reflection::VarMap & | vars, | |||
| const Reflection::ActorSpec & | spec | |||
| ) | [inline, static] |
template<class VX>
| Support::Symbol Gecode::Int::Linear::GqBoolInt< VX >::Speed::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 7285)
- gecode/int/linear/bool-int.icc (Revision: 6017)
