00001 #include "Puzzle.h" 00002 #include "Strategy.h" 00003 using namespace std; 00004 00005 #ifndef LEASTCANDIDATESSTRATEGY_H 00006 #define LEASTCANDIDATESSTRATEGY_H 00007 00012 class LeastCandidatesStrategy : public Strategy { 00013 00014 private: 00015 00019 LeastCandidatesStrategy(const LeastCandidatesStrategy &l); 00020 00024 LeastCandidatesStrategy& operator=(const LeastCandidatesStrategy &l); 00025 00026 public: 00027 00031 LeastCandidatesStrategy(const Puzzle &p) : Strategy(p), depth(0) {} 00032 00036 ~LeastCandidatesStrategy(); 00037 00041 void setStartCell(size_t &x, size_t &y); 00042 00043 }; 00044 00045 #endif