Sha256: 888d207faa0bf36b774e0ffb2424dd0bbbf4f66ba0e0ae98a5ba939112003bc8
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
/* * Main authors: * Guido Tack <tack@gecode.org> * Christian Schulte <schulte@gecode.org> * Gabor Szokoli <szokoli@gecode.org> * * Copyright: * Guido Tack, 2004 * Christian Schulte, 2004 * Gabor Szokoli, 2004 * * Last modified: * $Date: 2006-04-11 15:58:37 +0200 (Tue, 11 Apr 2006) $ by $Author: tack $ * $Revision: 3188 $ * * This file is part of Gecode, the generic constraint * development environment: * http://www.gecode.org * * See the file "LICENSE" for information on usage and * redistribution of this file, and for a * DISCLAIMER OF ALL WARRANTIES. * */ #include "gecode/set.hh" #include "gecode/int.hh" namespace Gecode { namespace Set { namespace Int { forceinline MinElement::MinElement(Space* home, SetView y0, Gecode::Int::IntView y1) : IntSetPropagator<SetView,PC_SET_ANY, Gecode::Int::PC_INT_BND> (home, y0, y1) {} forceinline ExecStatus MinElement::post(Space* home, SetView x0, Gecode::Int::IntView x1) { GECODE_ME_CHECK(x0.cardMin(home,1)); (void) new (home) MinElement(home,x0,x1); return ES_OK; } forceinline MinElement::MinElement(Space* home, bool share, MinElement& p) : IntSetPropagator<SetView,PC_SET_ANY, Gecode::Int::PC_INT_BND> (home, share, p) {} forceinline MaxElement::MaxElement(Space* home, SetView y0, Gecode::Int::IntView y1) : IntSetPropagator<SetView,PC_SET_ANY, Gecode::Int::PC_INT_BND> (home, y0, y1) {} forceinline MaxElement::MaxElement(Space* home, bool share, MaxElement& p) : IntSetPropagator<SetView,PC_SET_ANY, Gecode::Int::PC_INT_BND> (home, share, p) {} }}} // STATISTICS: set-prop
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gecoder-with-gecode-0.7.1 | ext/gecode-1.3.1/gecode/set/int/minmax.icc |