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

Gecode::Int::Arithmetic::MultDom< View > Class Template Reference
[Integer propagators]

#include <arithmetic.hh>

Inherits TernaryPropagator< View, PC_INT_DOM >.

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Arithmetic::MultDom< View >

Domain consistent multiplication propagator.

Requires

Definition at line 675 of file arithmetic.hh.


Public Member Functions

 MultDom (Space *home, View x0, View x1, View x2)
 Constructor for posting.
virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (ModEventDelta med) const
 Cost function.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, View x0, View x1, View x2)
 Post propagator $x_0\cdot x_1=x_2$.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 MultDom (Space *home, bool share, MultDom< View > &p)
 Constructor for cloning p.

Constructor & Destructor Documentation

template<class View>
Gecode::Int::Arithmetic::MultDom< View >::MultDom ( Space home,
bool  share,
MultDom< View > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 670 of file mult.icc.

template<class View>
Gecode::Int::Arithmetic::MultDom< View >::MultDom ( Space home,
View  x0,
View  x1,
View  x2 
) [inline]

Constructor for posting.

Definition at line 665 of file mult.icc.


Member Function Documentation

template<class View>
ExecStatus Gecode::Int::Arithmetic::MultDom< View >::post ( Space home,
View  x0,
View  x1,
View  x2 
) [inline, static]

Post propagator $x_0\cdot x_1=x_2$.

Definition at line 787 of file mult.icc.

template<class View>
void Gecode::Int::Arithmetic::MultDom< View >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator for specification.

Definition at line 834 of file mult.icc.

template<class View>
Actor * Gecode::Int::Arithmetic::MultDom< View >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 675 of file mult.icc.

template<class View>
PropCost Gecode::Int::Arithmetic::MultDom< View >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function.

If in stage for bounds propagation, the cost is PC_TERNARY_LO. Otherwise it is PC_TERNARY_HI.

Reimplemented from Gecode::TernaryPropagator< View, PC_INT_DOM >.

Definition at line 681 of file mult.icc.

template<class View>
ExecStatus Gecode::Int::Arithmetic::MultDom< View >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 687 of file mult.icc.

template<class View>
Reflection::ActorSpec Gecode::Int::Arithmetic::MultDom< View >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 851 of file mult.icc.

template<class View>
Support::Symbol Gecode::Int::Arithmetic::MultDom< View >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 845 of file mult.icc.


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