main-alone.cpp 974 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #include "config.hpp"
  2. #include "treewalk.hpp"
  3. #include "work.hpp"
  4. #include <iostream>
  5. using namespace std;
  6. /*void test_conjecture(){
  7. uint64_t end=(1L<<n);
  8. for(size_t u=umin;u<end;++u){
  9. Skew s(u);
  10. if(s.test_conjecture()){
  11. cout<<u<<endl;
  12. return;
  13. }
  14. }
  15. }*/
  16. int main(int argc,char** argv){
  17. Semigroup S;
  18. size_t ng[MAX_GENUS+1];
  19. init_full_N(S);
  20. work_on(S,ng);
  21. /*for(size_t g=0;g<5;++g){
  22. cout<<"==== "<<g<<" ===="<<endl;
  23. print_Semigroup_gen(S);
  24. cout<<" -- "<<endl;
  25. auto it=generator_iter<CHILDREN>(S);
  26. ind_t pos=0;
  27. it.move_next();
  28. Semigroup Snew=remove_generator(S,it.get_gen(),pos++);
  29. while(it.move_next()){
  30. Semigroup T=remove_generator(S,it.get_gen(),pos++);
  31. print_Semigroup_gen(T);
  32. }
  33. S=Snew;
  34. }
  35. /*cout<<"**************************"<<endl;
  36. cout<<"* Skew Circulant - Alone *"<<endl;
  37. cout<<"**************************"<<endl;
  38. cout<<" n = "<<n<<endl;
  39. test_conjecture();*/
  40. }