Generated on Wed Jan 4 17:49:24 2006 for Gecode by doxygen 1.4.6

Gecode::Set::Convex::ConvexHull Class Reference
[Set propagators]

#include <convex.hh>

Inherits Gecode::Propagator.

List of all members.


Detailed Description

Propagator for the convex hull constraint

Requires

 #include "set/convex.hh" 

Definition at line 69 of file convex.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.
virtual PropCost cost (void) const
 Cost function.
virtual ~ConvexHull (void)
 Destructor.

Static Public Member Functions

static ExecStatus post (Space *home, SetView x, SetView y)
 Post propagator that propagates that y is the convex hull of x.

Protected Member Functions

 ConvexHull (Space *home, bool share, ConvexHull &)
 Constructor for cloning p.
 ConvexHull (Space *home, SetView, SetView)
 Constructor for posting.

Protected Attributes

SetView x0
SetView x1


Constructor & Destructor Documentation

Gecode::Set::Convex::ConvexHull::ConvexHull Space home,
bool  share,
ConvexHull
[inline, protected]
 

Constructor for cloning p.

Definition at line 43 of file hull.icc.

Gecode::Set::Convex::ConvexHull::ConvexHull Space home,
SetView  ,
SetView 
[inline, protected]
 

Constructor for posting.

Definition at line 36 of file hull.icc.

Gecode::Set::Convex::ConvexHull::~ConvexHull void   )  [virtual]
 

Destructor.

Definition at line 43 of file hull.cc.


Member Function Documentation

Actor * Gecode::Set::Convex::ConvexHull::copy Space home,
bool 
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 34 of file hull.cc.

ExecStatus Gecode::Set::Convex::ConvexHull::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 49 of file hull.cc.

PropCost Gecode::Set::Convex::ConvexHull::cost void   )  const [virtual]
 

Cost function.

Implements Gecode::Propagator.

Definition at line 39 of file hull.cc.

ExecStatus Gecode::Set::Convex::ConvexHull::post Space home,
SetView  x,
SetView  y
[inline, static]
 

Post propagator that propagates that y is the convex hull of x.

Definition at line 50 of file hull.icc.


Member Data Documentation

SetView Gecode::Set::Convex::ConvexHull::x0 [protected]
 

Definition at line 71 of file convex.hh.

SetView Gecode::Set::Convex::ConvexHull::x1 [protected]
 

Definition at line 72 of file convex.hh.


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