Generated on Wed Nov 1 15:04:43 2006 for Gecode by doxygen 1.4.5

hull.icc

Go to the documentation of this file.
00001 /*
00002  *  Main authors:
00003  *     Guido Tack <tack@gecode.org>
00004  *     Christian Schulte <schulte@gecode.org>
00005  *
00006  *  Contributing authors:
00007  *     Gabor Szokoli <szokoli@gecode.org>
00008  *
00009  *  Copyright:
00010  *     Guido Tack, 2004
00011  *     Christian Schulte, 2004
00012  *     Gabor Szokoli, 2004
00013  *
00014  *  Last modified:
00015  *     $Date: 2006-05-23 15:09:53 +0200 (Tue, 23 May 2006) $ by $Author: tack $
00016  *     $Revision: 3232 $
00017  *
00018  *  This file is part of Gecode, the generic constraint
00019  *  development environment:
00020  *     http://www.gecode.org
00021  *
00022  *  See the file "LICENSE" for information on usage and
00023  *  redistribution of this file, and for a
00024  *     DISCLAIMER OF ALL WARRANTIES.
00025  *
00026  */
00027 
00028 namespace Gecode { namespace Set { namespace Convex {
00029 
00030   /*
00031    * "Convex hull" propagator
00032    *
00033    */
00034 
00035   forceinline
00036   ConvexHull::ConvexHull(Space* home, SetView x, SetView y)
00037     : BinaryPropagator<SetView, PC_SET_ANY>(home, x, y) {}
00038 
00039   forceinline
00040   ConvexHull::ConvexHull(Space* home, bool share, ConvexHull& p)
00041     : BinaryPropagator<SetView, PC_SET_ANY>(home, share, p) {}
00042 
00043   forceinline ExecStatus
00044   ConvexHull::post(Space* home, SetView x, SetView y) {
00045     (void) new (home) ConvexHull(home,x,y);
00046     return ES_OK;
00047   }
00048 
00049 
00050 }}}
00051 
00052 // STATISTICS: set-prop