Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Arithmetic::DivPlusBnd Class Reference

Bounds consistent positive division propagator. More...

#include <arithmetic.hh>

List of all members.

Public Member Functions

 DivPlusBnd (Home home, VA x0, VB x1, VC x2)
 Constructor for posting.
 DivPlusBnd (Space &home, bool share, DivPlusBnd< Val, VA, VB, VC > &p)
 Constructor for cloning p.
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, VA x0, VB x1, VC x2)
 Post propagator $x_0\mathrm{div} x_1=x_2$ (rounding towards 0)

Detailed Description

Bounds consistent positive division propagator.

This propagator provides division for positive views only.


Constructor & Destructor Documentation

Gecode::Int::Arithmetic::DivPlusBnd::DivPlusBnd ( Home  home,
VA  x0,
VB  x1,
VC  x2 
) [inline]

Constructor for posting.

Definition at line 50 of file divmod.hpp.

Gecode::Int::Arithmetic::DivPlusBnd::DivPlusBnd ( Space home,
bool  share,
DivPlusBnd< Val, VA, VB, VC > &  p 
) [inline]

Constructor for cloning p.

Definition at line 57 of file divmod.hpp.


Member Function Documentation

ExecStatus Gecode::Int::Arithmetic::DivPlusBnd::post ( Home  home,
VA  x0,
VB  x1,
VC  x2 
) [inline, static]

Post propagator $x_0\mathrm{div} x_1=x_2$ (rounding towards 0)

Definition at line 96 of file divmod.hpp.

Actor * Gecode::Int::Arithmetic::DivPlusBnd::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 64 of file divmod.hpp.

ExecStatus Gecode::Int::Arithmetic::DivPlusBnd::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 71 of file divmod.hpp.


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