Gecode::Int::Linear::SpeedLinBoolInt< VX > Class Template Reference
Baseclass for integer Boolean sum using advisors. More...
#include <linear.hh>
Public Member Functions | |
| virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
| Cost function (defined as high unary). | |
| 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. | |
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. | |
Detailed Description
template<class VX>
class Gecode::Int::Linear::SpeedLinBoolInt< VX >
Baseclass for integer Boolean sum using advisors.
Definition at line 803 of file linear.hh.
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 >
| PropCost Gecode::Int::Linear::SpeedLinBoolInt< VX >::cost | ( | const Space & | home, | |
| const ModEventDelta & | med | |||
| ) | const [inline, virtual] |
Cost function (defined as high unary).
Implements Gecode::Propagator.
Definition at line 147 of file bool-int.hpp.
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.
Reimplemented in Gecode::Int::Linear::SpeedReLinBoolInt< VX, VB >, and Gecode::Int::Linear::SpeedReLinBoolInt< VX, VB >.
Definition at line 116 of file bool-int.hpp.
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: 8215)
- gecode/int/linear/bool-int.hpp (Revision: 8514)
