#include "dynamic_grid.hpp" #include "clusters.hpp" #include "solver.hpp" #include "generator.hpp" #include #include #include #include int main(){ using namespace std; std::random_device rd; std::mt19937 gen(rd()); std::cout << std::endl; auto field = random_dynamic_grid(3, 3, gen); field.print(std::cout); auto solution = solve(field); for(auto&& t : solution.taps){ std::cout << "(" << t.first << ", " << t.second << ")\n"; } }