Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

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.

List of all members.


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]

Constructor for cloning p.

Definition at line 130 of file bool-int.icc.

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 111 of file bool-int.icc.


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]

Boolean views.

Definition at line 937 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 939 of file linear.hh.

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

Righthandside.

Definition at line 941 of file linear.hh.

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

Council for managing advisors.

Definition at line 943 of file linear.hh.


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