aboutsummaryrefslogtreecommitdiff
path: root/src/main/solver/solver.h
diff options
context:
space:
mode:
authorCharlie Blake2018-10-14 17:05:47 +0100
committerGitHub2018-10-14 17:05:47 +0100
commit591388e76ab1db92bc67f44e36efa7e69c3d97c0 (patch)
tree439d5cec4643476a3e76af30fb65b88d2f03cbd6 /src/main/solver/solver.h
parentMerge pull request #100 from thecharlesblake/maximal-built-group (diff)
parentAdd terminated status (diff)
downloadmetasol-591388e76ab1db92bc67f44e36efa7e69c3d97c0.tar.gz
metasol-591388e76ab1db92bc67f44e36efa7e69c3d97c0.zip

Merge pull request #101 from thecharlesblake/terminated-status

Add terminated status

Diffstat (limited to 'src/main/solver/solver.h')
-rw-r--r--src/main/solver/solver.h4
1 files changed, 2 insertions, 2 deletions
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