Sha256: f6258c1c465162cd3ce921645bcaf258db1a4423ba06416abf572f013d0170f5
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 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 Card::Card(Space* home, SetView y0, Gecode::Int::IntView y1) : IntSetPropagator<SetView,PC_SET_CARD, Gecode::Int::PC_INT_BND> (home, y0, y1) {} forceinline ExecStatus Card::post(Space* home, SetView x0, Gecode::Int::IntView x1) { GECODE_ME_CHECK(x1.gq(home,0)); GECODE_ME_CHECK(x0.cardMax(home, INT_MAX)); (void) new (home) Card(home,x0,x1); return ES_OK; } forceinline Card::Card(Space* home, bool share, Card& p) : IntSetPropagator<SetView,PC_SET_CARD, 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/card.icc |