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

Gecode::Int::Arithmetic::MultZeroOne< View, pc > Class Template Reference
[Integer propagators]

#include <arithmetic.hh>

Inherits Gecode::BinaryPropagator< View, pc >.

List of all members.


Detailed Description

template<class View, PropCond pc>
class Gecode::Int::Arithmetic::MultZeroOne< View, pc >

Bounds or domain consistent propagator for $x_0\times x_1=x_0$.

Requires

Definition at line 527 of file arithmetic.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
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 void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.
static ExecStatus post (Space *home, View x0, View x1)
 Post propagator $x_0\cdot x_1=x_0$.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 MultZeroOne (Space *home, bool share, MultZeroOne< View, pc > &p)
 Constructor for cloning p.
 MultZeroOne (Space *home, View x0, View x1)
 Constructor for posting.

Static Protected Member Functions

static RelTest equal (View x, int n)
 Test whether x is equal to n.

Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 202 of file mult.icc.

template<class View, PropCond pc>
Gecode::Int::Arithmetic::MultZeroOne< View, pc >::MultZeroOne ( Space home,
View  x0,
View  x1 
) [inline, protected]

Constructor for posting.

Definition at line 150 of file mult.icc.


Member Function Documentation

template<class View, PropCond pc>
RelTest Gecode::Int::Arithmetic::MultZeroOne< View, pc >::equal ( View  x,
int  n 
) [inline, static, protected]

Test whether x is equal to n.

Definition at line 155 of file mult.icc.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 208 of file mult.icc.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 214 of file mult.icc.

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

Post propagator for specification.

Definition at line 192 of file mult.icc.

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

Post propagator $x_0\cdot x_1=x_0$.

Definition at line 165 of file mult.icc.

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

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 247 of file mult.icc.

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

Name of this propagator.

Definition at line 240 of file mult.icc.


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