Gecode::Int::Linear::SpeedLinBoolInt< VX > Class Template Reference
#include <linear.hh>
Inherits Gecode::Propagator.
Inherited by Gecode::Int::Linear::EqBoolInt< VX >::Speed, and Gecode::Int::Linear::GqBoolInt< VX >::Speed.
Detailed Description
template<class VX>
class Gecode::Int::Linear::SpeedLinBoolInt< VX >
Baseclass for integer Boolean sum using advisors.
Definition at line 934 of file linear.hh.
Public Member Functions | |
| virtual PropCost | cost (ModEventDelta med) const |
| Cost function (defined as dynamic PC_UNARY_HI). | |
| virtual size_t | dispose (Space *home) |
| Delete propagator and return its size. | |
Protected Member Functions | |
| SpeedLinBoolInt (Space *home, bool share, SpeedLinBoolInt &p) | |
| Constructor for cloning p. | |
| SpeedLinBoolInt (Space *home, ViewArray< VX > &x, int n_s, int c) | |
| Constructor for creation. | |
| Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m, const Support::Symbol &name) const |
| Return specification for this propagator given a variable map m. | |
Protected Attributes | |
| ViewArray< VX > | x |
| Boolean views. | |
| int | n_s |
| How many views are attached to advisors. | |
| int | c |
| Righthandside. | |
| Council< ViewAdvisor< VX > > | co |
| Council for managing advisors. | |
Constructor & Destructor Documentation
template<class VX>
| Gecode::Int::Linear::SpeedLinBoolInt< VX >::SpeedLinBoolInt | ( | Space * | home, | |
| bool | share, | |||
| SpeedLinBoolInt< VX > & | p | |||
| ) | [inline, protected] |
template<class VX>
| Gecode::Int::Linear::SpeedLinBoolInt< VX >::SpeedLinBoolInt | ( | Space * | home, | |
| ViewArray< VX > & | x, | |||
| int | n_s, | |||
| int | c | |||
| ) | [inline, protected] |
Member Function Documentation
template<class VX>
| Reflection::ActorSpec Gecode::Int::Linear::SpeedLinBoolInt< VX >::spec | ( | const Space * | home, | |
| Reflection::VarMap & | m, | |||
| const Support::Symbol & | name | |||
| ) | const [inline, protected] |
Return specification for this propagator given a variable map m.
Definition at line 159 of file bool-int.icc.
template<class VX>
| PropCost Gecode::Int::Linear::SpeedLinBoolInt< VX >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
Cost function (defined as dynamic PC_UNARY_HI).
Implements Gecode::Propagator.
Definition at line 153 of file bool-int.icc.
template<class VX>
| size_t Gecode::Int::Linear::SpeedLinBoolInt< VX >::dispose | ( | Space * | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 122 of file bool-int.icc.
Member Data Documentation
template<class VX>
ViewArray<VX> Gecode::Int::Linear::SpeedLinBoolInt< VX >::x [protected] |
template<class VX>
int Gecode::Int::Linear::SpeedLinBoolInt< VX >::n_s [protected] |
template<class VX>
int Gecode::Int::Linear::SpeedLinBoolInt< VX >::c [protected] |
template<class VX>
Council<ViewAdvisor<VX> > Gecode::Int::Linear::SpeedLinBoolInt< VX >::co [protected] |
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)
