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 >.
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
|
Constructor for cloning p.
|
|
Constructor for creation.
Definition at line 34 of file bool-int.icc. |
Member Function Documentation
|
Cost function (defined as dynamic PC_LINEAR_LO).
Implements Gecode::Propagator. Definition at line 78 of file bool-int.icc. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. Definition at line 43 of file bool-int.icc. |
Member Data Documentation
|
Boolean views.
|
|
Views from x[0] ... x[n_s-1] have subscriptions.
|
|
Righthandside.
|
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 3604)
- gecode/int/linear/bool-int.icc (Revision: 3604)