Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl > Class Template Reference
#include <linear.hh>
Inherits Gecode::Int::Linear::Lin< 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 607 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. | |
Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m, const Support::Symbol &name) const |
Return specification. | |
Protected Attributes | |
Ctrl | b |
Control view for reification. |
Constructor & Destructor Documentation
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
Reflection::ActorSpec Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m, | |||
const Support::Symbol & | name | |||
) | const [inline, protected] |
Return specification.
Reimplemented from Gecode::Int::Linear::Lin< Val, P, N, pc >.
Definition at line 136 of file int-nary.icc.
size_t Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::dispose | ( | Space * | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Linear::Lin< Val, P, N, pc >.
Definition at line 127 of file int-nary.icc.
Member Data Documentation
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: 7285)
- gecode/int/linear/int-nary.icc (Revision: 6017)