iter.icc
Go to the documentation of this file.00001 /* 00002 * Main authors: 00003 * Guido Tack <tack@gecode.org> 00004 * Gabor Szokoli <szokoli@gecode.org> 00005 * 00006 * Copyright: 00007 * Guido Tack, 2004 00008 * Gabor Szokoli, 2004 00009 * 00010 * Last modified: 00011 * $Date: 2005-08-10 15:18:45 +0200 (Wed, 10 Aug 2005) $ by $Author: tack $ 00012 * $Revision: 2199 $ 00013 * 00014 * This file is part of Gecode, the generic constraint 00015 * development environment: 00016 * http://www.gecode.org 00017 * 00018 * See the file "LICENSE" for information on usage and 00019 * redistribution of this file, and for a 00020 * DISCLAIMER OF ALL WARRANTIES. 00021 * 00022 */ 00023 00024 namespace Gecode { namespace Set { 00025 00026 template <class T> 00027 forceinline 00028 UnknownRanges<T>::UnknownRanges(void) {} 00029 00030 template <class T> 00031 forceinline 00032 UnknownRanges<T>::UnknownRanges(const T& v) : i1(v), i2(v) { 00033 Iter::Ranges::Diff<LubRanges<T>, GlbRanges<T> >::init(i1,i2); 00034 } 00035 00036 template <class T> 00037 forceinline void 00038 UnknownRanges<T>::init(const T& v) { 00039 i1.init(v); 00040 i2.init(v); 00041 Iter::Ranges::Diff<LubRanges<T>, GlbRanges<T> >::init(i1,i2); 00042 } 00043 00044 }} 00045 00046 // STATISTICS: set-var 00047