Sha256: 3cace07110d5e6f5293d8a97c4611308ef4654e6d88f6d1a327d31804be602b5
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
/* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2004 * * Last modified: * $Date: 2006-03-30 19:42:28 +0200 (Thu, 30 Mar 2006) $ by $Author: schulte $ * $Revision: 3141 $ * * 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 { /* * Control for LDS engine * */ template <class T> forceinline LDS<T>::LDS(T* s, unsigned int d, Search::Stop* st) : Search::LDS(s,d,st,sizeof(T)) {} template <class T> forceinline T* LDS<T>::next(void) { return static_cast<T*>(Search::LDS::next()); } /* * Convenience for LDS * */ template <class T> T* lds(T* s, unsigned int d, Search::Stop* st) { LDS<T> lds(s,d,st); return static_cast<T*>(lds.next()); } } // STATISTICS: search-any
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gecoder-with-gecode-0.7.1 | ext/gecode-1.3.1/gecode/search/lds.icc |