From 1e979990239a846618811f27c002345e9d654fed Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sun, 14 Oct 2018 17:03:57 +0100 Subject: Add terminated status --- src/main/solver/solver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/solver/solver.h') diff --git a/src/main/solver/solver.h b/src/main/solver/solver.h index 6b5704e..74c73a8 100644 --- a/src/main/solver/solver.h +++ b/src/main/solver/solver.h @@ -26,7 +26,7 @@ public: }; struct result { - enum class type { TIMEOUT, SOLVED, UNSOLVABLE, MEM_LIMIT }; + enum class type { TIMEOUT, SOLVED, UNSOLVABLE, MEM_LIMIT, TERMINATED }; type sol_type; uint64_t states_searched; @@ -73,6 +73,6 @@ private: std::ostream& operator<< (std::ostream&, const solver::result::type&); std::ostream& operator<< (std::ostream&, const solver::result&); - +void sigint_handler(int i); #endif //SOLVITAIRE_SOLVER_H -- cgit v1.2.1