Generated on Wed Nov 1 15:05:19 2006 for Gecode by doxygen 1.4.5

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

#include <linear.hh>

Inherits Gecode::Propagator.

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

List of all members.


Detailed Description

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

Baseclass for integer Boolean sum.

Definition at line 756 of file linear.hh.

Public Member Functions

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

Protected Member Functions

 LinBoolInt (Space *home, bool share, LinBoolInt &p)
 Constructor for cloning p.
 LinBoolInt (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.


Constructor & Destructor Documentation

template<class VX>
Gecode::Int::Linear::LinBoolInt< VX >::LinBoolInt Space home,
bool  share,
LinBoolInt< VX > &  p
[protected]
 

Constructor for cloning p.

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

Constructor for creation.

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


Member Function Documentation

template<class VX>
PropCost Gecode::Int::Linear::LinBoolInt< VX >::cost void   )  const [virtual]
 

Cost function (defined as dynamic PC_LINEAR_LO).

Implements Gecode::Propagator.

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

template<class VX>
size_t Gecode::Int::Linear::LinBoolInt< VX >::dispose Space home  )  [virtual]
 

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

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


Member Data Documentation

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

Boolean views.

Definition at line 759 of file linear.hh.

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

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

Definition at line 761 of file linear.hh.

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

Righthandside.

Definition at line 763 of file linear.hh.


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