Gecode::Int::Count::BaseInt< VX, VY > Class Template Reference
#include <count.hh>
Inherits Gecode::Propagator.
Inherited by Gecode::Int::Count::EqInt< VX, VY >, Gecode::Int::Count::GqInt< VX, VY >, and Gecode::Int::Count::LqInt< VX, VY >.
Detailed Description
template<class VX, class VY>
class Gecode::Int::Count::BaseInt< VX, VY >
Baseclass for count propagators (integer).
Definition at line 73 of file count.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 | |
BaseInt (Space *home, bool share, BaseInt &p) | |
Constructor for cloning p. | |
BaseInt (Space *home, ViewArray< VX > &x, int n_s, VY y, int c) | |
Constructor for creation. | |
Protected Attributes | |
ViewArray< VX > | x |
Views still to count. | |
int | n_s |
Views from x[0] ... x[n_s-1] have subscriptions. | |
VY | y |
View to compare to. | |
int | c |
Number of views which are equal and have been eliminated. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for creation.
|
Member Function Documentation
|
Cost function (defined as dynamic PC_LINEAR_LO).
Implements Gecode::Propagator. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. |
Member Data Documentation
|
Views still to count.
|
|
Views from x[0] ... x[n_s-1] have subscriptions.
|
|
View to compare to.
|
|
Number of views which are equal and have been eliminated.
|
The documentation for this class was generated from the following files:
- gecode/int/count.hh (Revision: 3684)
- gecode/int/count/int.icc (Revision: 3538)