/[projects]/queensgui/src/solutionvector.h
ViewVC logotype

Diff of /queensgui/src/solutionvector.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by torben, Thu Jul 19 21:34:15 2007 UTC revision 2 by torben, Thu Jul 19 22:26:42 2007 UTC
# Line 30  Line 30 
30  */  */
31  class SolutionVector : public SolutionContainer{  class SolutionVector : public SolutionContainer{
32  protected:  protected:
33      std::vector<Solution> solutions;      std::vector<Solution*> solutions;
34      typedef std::vector<Solution>::iterator VIt;      typedef std::vector<Solution*>::iterator VIt;
35      void uniqueSolutionsWorker(int rot, bool mirror);      void uniqueSolutionsWorker(int rot, bool mirror);
36      int total;      int total;
37    
# Line 43  public: Line 43  public:
43      int numSolutions();      int numSolutions();
44      int totalSolutions();      int totalSolutions();
45            
46      Solution solution(int index);      Solution* solution(int index);
47      void addSolution(Solution sol);      void addSolution(Solution* sol);
48  };  };
49    
50  #endif  #endif

Legend:
Removed from v.1  
changed lines
  Added in v.2

  ViewVC Help
Powered by ViewVC 1.1.20