33 |
{ |
{ |
34 |
private: |
private: |
35 |
static const int max_size = 256; |
static const int max_size = 256; |
36 |
typedef std::list<Solution>::iterator ListIt; |
typedef std::list<Solution*>::iterator ListIt; |
37 |
typedef std::list<Solution> SolList; |
typedef std::list<Solution*> SolList; |
38 |
|
|
39 |
SolList* solutions[max_size]; |
SolList* solutions[max_size]; |
40 |
|
|
51 |
int numSolutions(); |
int numSolutions(); |
52 |
int totalSolutions(); |
int totalSolutions(); |
53 |
|
|
54 |
Solution solution(int index); |
Solution* solution(int index); |
55 |
void addSolution(Solution sol); |
void addSolution(Solution* sol); |
56 |
}; |
}; |
57 |
|
|
58 |
#endif |
#endif |