float.cpp
Go to the documentation of this file.00001 /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ 00002 /* 00003 * Main authors: 00004 * Filip Konvicka <filip.konvicka@logis.cz> 00005 * Lubomir Moric <lubomir.moric@logis.cz> 00006 * Vincent Barichard <Vincent.Barichard@univ-angers.fr> 00007 * 00008 * Contributing authors: 00009 * Christian Schulte <schulte@gecode.org> 00010 * 00011 * Copyright: 00012 * LOGIS, s.r.o., 2008 00013 * Christian Schulte, 2010 00014 * Vincent Barichard, 2012 00015 * 00016 * This file is part of Gecode, the generic constraint 00017 * development environment: 00018 * http://www.gecode.org 00019 * 00020 * Permission is hereby granted, free of charge, to any person obtaining 00021 * a copy of this software and associated documentation files (the 00022 * "Software"), to deal in the Software without restriction, including 00023 * without limitation the rights to use, copy, modify, merge, publish, 00024 * distribute, sublicense, and/or sell copies of the Software, and to 00025 * permit persons to whom the Software is furnished to do so, subject to 00026 * the following conditions: 00027 * 00028 * The above copyright notice and this permission notice shall be 00029 * included in all copies or substantial portions of the Software. 00030 * 00031 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00032 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00033 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00034 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 00035 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 00036 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 00037 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00038 * 00039 */ 00040 00041 #include <gecode/float.hh> 00042 00043 namespace Gecode { namespace Float { 00044 00045 /* 00046 * Dependencies 00047 * 00048 */ 00049 void 00050 FloatVarImp::subscribe(Space& home, Propagator& p, PropCond pc, 00051 bool schedule) { 00052 FloatVarImpBase::subscribe(home,p,pc,assigned(),schedule); 00053 } 00054 00055 void 00056 FloatVarImp::reschedule(Space& home, Propagator& p, PropCond pc) { 00057 FloatVarImpBase::reschedule(home,p,pc,assigned()); 00058 } 00059 00060 void 00061 FloatVarImp::subscribe(Space& home, Advisor& a, bool fail) { 00062 FloatVarImpBase::subscribe(home,a,assigned(),fail); 00063 } 00064 00065 }} 00066 00067 // STATISTICS: float-var