From 992de12cc081e7dde16c3c231f83bfa77c67825a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 31 Jul 2025 09:47:57 +0200 Subject: Added move sequence comparison function --- cpp/nissy.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cpp/nissy.h') diff --git a/cpp/nissy.h b/cpp/nissy.h index 817307c..199af10 100644 --- a/cpp/nissy.h +++ b/cpp/nissy.h @@ -55,6 +55,14 @@ namespace nissy { static const status PAUSE; }; + class compare_result { + public: + long long value; + + static const compare_result EQUAL; + static const compare_result DIFFERENT; + }; + class cube { public: cube(); @@ -103,6 +111,8 @@ namespace nissy { }; error count_moves(const std::string&); + std::variant compare_moves( + const std::string&, const std::string&); void set_logger(void (*)(const char *, void *), void *); } -- cgit v1.3