#ifndef WORK_HPP #define WORK_HPP #include #include "treewalk.hpp" using namespace std; void work_on(Semigroup& S,Results& res){ Stack stack; clear_results(res); if(not cut(S)){ treat(S,res); Semigroup* root=stack.pushed(); *root=S; walk(stack,res); } } #endif