|
@@ -38,7 +38,7 @@ void init_parallelize(list<Semigroup>& forest,Results& res){
|
|
|
|
|
|
int main(int argc,char** argv){
|
|
int main(int argc,char** argv){
|
|
Results res;
|
|
Results res;
|
|
- clear_results(res);
|
|
|
|
|
|
+ res.clear();
|
|
list<Semigroup> forest;
|
|
list<Semigroup> forest;
|
|
init_parallelize(forest,res);
|
|
init_parallelize(forest,res);
|
|
// Set tasks
|
|
// Set tasks
|
|
@@ -85,7 +85,7 @@ int main(int argc,char** argv){
|
|
for(size_t i=0;i<nb_tasks;++i){
|
|
for(size_t i=0;i<nb_tasks;++i){
|
|
if(tasks[i].get_statut()==Task::Done){
|
|
if(tasks[i].get_statut()==Task::Done){
|
|
GTaskOutput& output=*((GTaskOutput*)tasks[i].get_output());
|
|
GTaskOutput& output=*((GTaskOutput*)tasks[i].get_output());
|
|
- add_results(res,output.res);
|
|
|
|
|
|
+ res.add(output.res);
|
|
if(res.has_counter_example){
|
|
if(res.has_counter_example){
|
|
cout<<"A counter example was found : "<<endl;
|
|
cout<<"A counter example was found : "<<endl;
|
|
print_Semigroup_gen(res.S_counter_example);
|
|
print_Semigroup_gen(res.S_counter_example);
|