diff --git a/solver.hpp b/solver.hpp index 03174f9..d39d028 100644 --- a/solver.hpp +++ b/solver.hpp @@ -15,9 +15,11 @@ public: } // Utility functions + // Prints what the solver deduced void print() { known.print(); } + // Clean guess and response from info we know Historic_guess clean(Historic_guess hist) { // The in-place colors we know for(int n = 0; n < N; n++) { @@ -43,6 +45,7 @@ public: return hist; } + // For each color, get where it was guessed vector> get_positions_of_colors(vector guess) { auto positions_of_colors = vector>(M, vector(0)); for(int n = 0; n < N; n++)