24 |
#include "solution.h" |
#include "solution.h" |
25 |
|
|
26 |
#include <list> |
#include <list> |
27 |
|
#include <boost/shared_ptr.hpp> |
28 |
|
|
29 |
|
|
30 |
/** |
/** |
43 |
Solution* solution(int index); |
Solution* solution(int index); |
44 |
void addSolution(Solution* sol); |
void addSolution(Solution* sol); |
45 |
private: |
private: |
46 |
typedef std::list<Solution*>::iterator ListIt; |
typedef std::list<boost::shared_ptr<Solution> >::iterator ListIt; |
47 |
typedef std::list<Solution*> SolList; |
typedef std::list<boost::shared_ptr<Solution> > SolList; |
48 |
SolList solutions; |
SolList solutions; |
49 |
|
|
50 |
void uniqueSolutionsWorker(int rot, bool mirror); |
void uniqueSolutionsWorker(int rot, bool mirror); |