Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl > Class Template Reference
#include <linear.hh>
Inherits Gecode::Int::Linear::Lin< Val, P, N, pc >< Gecode::Int::GCC::Val< View, Card, isView >, P, N, pc >.
Inherited by Gecode::Int::Linear::ReEq< Val, P, N, Ctrl >, and Gecode::Int::Linear::ReLq< Val, P, N >.
Detailed Description
template<class Val, class P, class N, PropCond pc, class Ctrl>
class Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >
Base-class for reified n-ary linear propagators.
The type Val can be either double
or int
, defining the numerical precision during propagation. Positive views are of type P whereas negative views are of type N.
The propagation condition pc refers to all views.
Definition at line 507 of file linear.hh.
Public Member Functions | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
Protected Member Functions | |
ReLin (Space *home, bool share, ReLin &p) | |
Constructor for cloning p. | |
ReLin (Space *home, ViewArray< P > &x, ViewArray< N > &y, Val c, Ctrl b) | |
Constructor for creation. | |
Protected Attributes | |
Ctrl | b |
Control view for reification. |
Constructor & Destructor Documentation
template<class Val, class P, class N, PropCond pc, class Ctrl>
Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::ReLin | ( | Space * | home, | |
bool | share, | |||
ReLin< Val, P, N, pc, Ctrl > & | p | |||
) | [protected] |
Constructor for cloning p.
Member Function Documentation
template<class Val, class P, class N, PropCond pc, class Ctrl>
size_t Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::dispose | ( | Space * | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Linear::Lin< Val, P, N, pc >.
Member Data Documentation
template<class Val, class P, class N, PropCond pc, class Ctrl>
Ctrl Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::b [protected] |
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 3604)
- gecode/int/linear/nary.icc (Revision: 3512)