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 |
|
|
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 |