Generated on Mon Jul 6 18:09:35 2009 for Gecode by doxygen 1.5.9

Gecode::Int::Linear::SpeedLinBoolInt< VX > Class Template Reference

Baseclass for integer Boolean sum using advisors. More...

#include <linear.hh>

List of all members.

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]

Constructor for cloning p.

Definition at line 124 of file bool-int.hpp.

template<class VX>
Gecode::Int::Linear::SpeedLinBoolInt< VX >::SpeedLinBoolInt ( Space home,
ViewArray< VX > &  x,
int  n_s,
int  c 
) [inline, protected]

Constructor for creation.

Definition at line 105 of file bool-int.hpp.


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]

Boolean views.

Definition at line 806 of file linear.hh.

template<class VX>
int Gecode::Int::Linear::SpeedLinBoolInt< VX >::n_s [protected]

How many views are attached to advisors.

Definition at line 808 of file linear.hh.

template<class VX>
int Gecode::Int::Linear::SpeedLinBoolInt< VX >::c [protected]

Righthandside.

Definition at line 810 of file linear.hh.

template<class VX>
Council<ViewAdvisor<VX> > Gecode::Int::Linear::SpeedLinBoolInt< VX >::co [protected]

Council for managing advisors.

Definition at line 812 of file linear.hh.


The documentation for this class was generated from the following files: