COOPY » Guide  version 0.6.5
/home/paulfitz/cvs/coopy_scm/coopy/src/libcoopy_core/include/coopy/Mover.h
Go to the documentation of this file.
00001 #ifndef COOPY_MOVER
00002 #define COOPY_MOVER
00003 
00004 #define WANT_MAP2STRING
00005 #define WANT_VECTOR2STRING
00006 #include <coopy/Stringer.h>
00007 
00008 namespace coopy {
00009   namespace cmp {
00010     class Mover;
00011   }
00012 }
00013 
00014 class coopy::cmp::Mover {
00015 private:
00016   int solutions;
00017   bool global_solved;
00018   std::vector<int> global_best_order;
00019 public:
00020   bool move(const std::vector<int>& src, const std::vector<int>& dest, 
00021             std::vector<int>& order) {
00022     std::vector<int> forbidden;
00023     return move(src,dest,order,forbidden,0);
00024   }
00025 
00026   bool move(const std::vector<int>& src, const std::vector<int>& dest, 
00027             std::vector<int>& order, 
00028             std::vector<int>& forbidden, 
00029             int depth);
00030 };
00031 
00032 
00033 #endif
00034 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines