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

Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl > Class Template Reference

#include <linear.hh>

Inherits Gecode::Int::Linear::Lin< Val, P, N, pc >.

List of all members.


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.

template<class Val, class P, class N, PropCond pc, class Ctrl>
Gecode::Int::Linear::ReLin< Val, P, N, pc, Ctrl >::ReLin Space home,
ViewArray< P > &  x,
ViewArray< N > &  y,
Val  c,
Ctrl  b
[inline, protected]
 

Constructor for creation.

Definition at line 87 of file nary.icc.


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 >.

Definition at line 102 of file nary.icc.


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]
 

Control view for reification.

Definition at line 510 of file linear.hh.


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