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

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

#include <linear.hh>

Inherits Gecode::Propagator.

Inherited by Gecode::Int::Linear::EqBoolInt< VX >::Memory, and Gecode::Int::Linear::GqBoolInt< VX >::Memory.

List of all members.


Detailed Description

template<class VX>
class Gecode::Int::Linear::MemoryLinBoolInt< VX >

Baseclass for integer Boolean sum using dependencies.

Definition at line 907 of file linear.hh.


Public Member Functions

virtual PropCost cost (ModEventDelta med) const
 Cost function (defined as dynamic PC_LINEAR_LO).
virtual size_t dispose (Space *home)
 Delete propagator and return its size.

Protected Member Functions

 MemoryLinBoolInt (Space *home, bool share, MemoryLinBoolInt &p)
 Constructor for cloning p.
 MemoryLinBoolInt (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
 Views from x[0] ... x[n_s-1] have subscriptions.
int c
 Righthandside.

Constructor & Destructor Documentation

template<class VX>
Gecode::Int::Linear::MemoryLinBoolInt< VX >::MemoryLinBoolInt ( Space home,
bool  share,
MemoryLinBoolInt< VX > &  p 
) [inline, protected]

Constructor for cloning p.

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

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

Constructor for creation.

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


Member Function Documentation

template<class VX>
Reflection::ActorSpec Gecode::Int::Linear::MemoryLinBoolInt< 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 99 of file bool-int.icc.

template<class VX>
PropCost Gecode::Int::Linear::MemoryLinBoolInt< VX >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function (defined as dynamic PC_LINEAR_LO).

Implements Gecode::Propagator.

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

template<class VX>
size_t Gecode::Int::Linear::MemoryLinBoolInt< VX >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

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


Member Data Documentation

template<class VX>
ViewArray<VX> Gecode::Int::Linear::MemoryLinBoolInt< VX >::x [protected]

Boolean views.

Definition at line 910 of file linear.hh.

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

Views from x[0] ... x[n_s-1] have subscriptions.

Definition at line 912 of file linear.hh.

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

Righthandside.

Definition at line 914 of file linear.hh.


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