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