Generated on Wed Sep 5 2012 18:52:47 for Gecode by doxygen 1.8.1.1
Gecode::Set::Convex::ConvexHull Class Reference

Propagator for the convex hull constraint More...

#include <convex.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
- Public Member Functions inherited from Gecode::BinaryPropagator< SetView, PC_SET_ANY >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary)
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function.
double afc (void) const
 Return the accumlated failure count.

Static Public Member Functions

static ExecStatus post (Home 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 (Home home, SetView, SetView)
 Constructor for posting.
- Protected Member Functions inherited from Gecode::BinaryPropagator< SetView, PC_SET_ANY >
 BinaryPropagator (Space &home, bool share, BinaryPropagator &p)
 Constructor for cloning p.
 BinaryPropagator (Home home, SetViewx0, SetViewx1)
 Constructor for creation.
 BinaryPropagator (Space &home, bool share, Propagator &p, SetViewx0, SetViewx1)
 Constructor for rewriting p during cloning.
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Additional Inherited Members

- Protected Attributes inherited from Gecode::BinaryPropagator< SetView, PC_SET_ANY >
SetView x0
 Two views.
SetView x1

Detailed Description

Propagator for the convex hull constraint

Requires

Definition at line 84 of file convex.hh.


Constructor & Destructor Documentation

Gecode::Set::Convex::ConvexHull::ConvexHull ( Space home,
bool  share,
ConvexHull p 
)
inlineprotected

Constructor for cloning p.

Definition at line 56 of file hull.hpp.

Gecode::Set::Convex::ConvexHull::ConvexHull ( Home  home,
SetView  x,
SetView  y 
)
inlineprotected

Constructor for posting.

Definition at line 52 of file hull.hpp.


Member Function Documentation

Actor * Gecode::Set::Convex::ConvexHull::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 49 of file hull.cpp.

ExecStatus Gecode::Set::Convex::ConvexHull::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 54 of file hull.cpp.

ExecStatus Gecode::Set::Convex::ConvexHull::post ( Home  home,
SetView  x,
SetView  y 
)
inlinestatic

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

Definition at line 60 of file hull.hpp.


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