Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

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

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

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 112 of file int-nary.icc.


Member Function Documentation

template<class Val, class P, class N, PropCond pc, class Ctrl>
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.

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  )  [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

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 610 of file linear.hh.


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