/* * Main authors: * Christian Schulte * * Copyright: * Christian Schulte, 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/int/regular.hh" namespace Gecode { using namespace Int; void regular(Space* home, const IntVarArgs& x, DFA& dfa, IntConLevel) { if (home->failed()) return; ViewArray xv(home,x); GECODE_ES_FAIL(home,Regular::Dom::post(home,xv,dfa)); } } // STATISTICS: int-post