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