Generated on Wed Jan 4 17:49:13 2006 for Gecode by doxygen 1.4.6

dfs-reco.hh

Go to the documentation of this file.
00001 /*
00002  *  Main authors:
00003  *     Christian Schulte <schulte@gecode.org>
00004  *
00005  *  Copyright:
00006  *     Christian Schulte, 2004
00007  *
00008  *  Last modified:
00009  *     $Date: 2005-08-09 21:44:53 +0200 (Tue, 09 Aug 2005) $ by $Author: schulte $
00010  *     $Revision: 2192 $
00011  *
00012  *  This file is part of Gecode, the generic constraint
00013  *  development environment:
00014  *     http://www.gecode.org
00015  *
00016  *  See the file "LICENSE" for information on usage and
00017  *  redistribution of this file, and for a
00018  *     DISCLAIMER OF ALL WARRANTIES.
00019  *
00020  */
00021 
00022 #ifndef __GECODE_SEARCH_DFS_RECO_HH__
00023 #define __GECODE_SEARCH_DFS_RECO_HH__
00024 
00025 #include "search.hh"
00026 #include "search/stack.hh"
00027 
00028 namespace Gecode { namespace Search {
00029 
00034   class DfsReCoEngine : public PlainEngine {
00035   private:
00036     ReCoStack          ds;
00037     Space*             cur;
00038     const unsigned int c_d;
00039     unsigned int       d;
00040   public:
00041     DfsReCoEngine(Space*,unsigned int,unsigned int,size_t);
00042     virtual void reset(Space*);
00043     virtual size_t stacksize(void) const;
00044     virtual ~DfsReCoEngine(void);
00045     virtual Space* explore(void);
00046   };
00047 
00048 }}
00049 
00050 #include "search/dfs-reco.icc"
00051 
00052 #endif
00053 
00054 // STATISTICS: search-any