24 |
|
|
25 |
ContainerVector::ContainerVector(GUIUpdate* update) : SolutionContainer(update) |
ContainerVector::ContainerVector(GUIUpdate* update) : SolutionContainer(update) |
26 |
{ |
{ |
27 |
total = -1; |
total = 0; |
28 |
} |
} |
29 |
|
|
30 |
|
|
94 |
void ContainerVector::addSolution(Solution* sol) |
void ContainerVector::addSolution(Solution* sol) |
95 |
{ |
{ |
96 |
solutions.push_back( boost::shared_ptr<Solution>(sol) ); |
solutions.push_back( boost::shared_ptr<Solution>(sol) ); |
97 |
|
total++; |
98 |
} |
} |
99 |
|
|
100 |
Solution* ContainerVector::solution(int index) |
Solution* ContainerVector::solution(int index) |