Sha256: 71b8f1c3f7008b6c4cc9715337ece4eb1255471b7a530db970e5ea4e1bef393e

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

/*
 *  Main authors:
 *     Guido Tack <tack@gecode.org>
 *     Gabor Szokoli <szokoli@gecode.org>
 *
 *  Copyright:
 *     Guido Tack, 2004
 *     Gabor Szokoli, 2004
 *
 *  Last modified:
 *     $Date: 2005-08-10 15:18:45 +0200 (Wed, 10 Aug 2005) $ by $Author: tack $
 *     $Revision: 2199 $
 *
 *  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.
 *
 */

namespace Gecode { namespace Set {

  template <class T>
  forceinline
  UnknownRanges<T>::UnknownRanges(void) {}

  template <class T>
  forceinline
  UnknownRanges<T>::UnknownRanges(const T& v) : i1(v), i2(v) {
    Iter::Ranges::Diff<LubRanges<T>, GlbRanges<T> >::init(i1,i2);
  }

  template <class T>
  forceinline void
  UnknownRanges<T>::init(const T& v) {
    i1.init(v);
    i2.init(v);
    Iter::Ranges::Diff<LubRanges<T>, GlbRanges<T> >::init(i1,i2);
  }

}}

// STATISTICS: set-var

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/var/iter.icc