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

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

Baseclass for integer Boolean sum using dependencies. 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 low linear).
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.

Protected Attributes

ViewArray< VX > x
 Boolean views.
int n_s
 Views from x[0] ... x[n_s-1] have subscriptions.
int c
 Righthandside.


Detailed Description

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

Baseclass for integer Boolean sum using dependencies.

Definition at line 779 of file linear.hh.


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 69 of file bool-int.hpp.

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 50 of file bool-int.hpp.


Member Function Documentation

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

Cost function (defined as low linear).

Implements Gecode::Propagator.

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

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.

Reimplemented in Gecode::Int::Linear::MemoryReLinBoolInt< VX, VB >, and Gecode::Int::Linear::MemoryReLinBoolInt< VX, VB >.

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


Member Data Documentation

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

Boolean views.

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

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

Righthandside.

Definition at line 786 of file linear.hh.


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