diff options
Diffstat (limited to 'cpp/nissy.h')
| -rw-r--r-- | cpp/nissy.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/nissy.h b/cpp/nissy.h index 41d3876..884043d 100644 --- a/cpp/nissy.h +++ b/cpp/nissy.h | |||
| @@ -33,9 +33,9 @@ namespace nissy { | |||
| 33 | bool ok() const; | 33 | bool ok() const; |
| 34 | 34 | ||
| 35 | static const error OK; | 35 | static const error OK; |
| 36 | static const error UNSOLVABLE; | 36 | static const error UNSOLVABLE_WARNING; |
| 37 | static const error UNSOLVABLE_ERROR; | ||
| 37 | static const error INVALID_CUBE; | 38 | static const error INVALID_CUBE; |
| 38 | static const error UNSOLVABLE_CUBE; | ||
| 39 | static const error INVALID_MOVES; | 39 | static const error INVALID_MOVES; |
| 40 | static const error INVALID_TRANS; | 40 | static const error INVALID_TRANS; |
| 41 | static const error INVALID_SOLVER; | 41 | static const error INVALID_SOLVER; |
| @@ -50,9 +50,9 @@ namespace nissy { | |||
| 50 | public: | 50 | public: |
| 51 | int value; | 51 | int value; |
| 52 | 52 | ||
| 53 | static const status run; | 53 | static const status RUN; |
| 54 | static const status stop; | 54 | static const status STOP; |
| 55 | static const status pause; | 55 | static const status PAUSE; |
| 56 | }; | 56 | }; |
| 57 | 57 | ||
| 58 | class cube { | 58 | class cube { |
| @@ -96,7 +96,7 @@ namespace nissy { | |||
| 96 | solve_result solve(const cube&, nissflag, unsigned minmoves, | 96 | solve_result solve(const cube&, nissflag, unsigned minmoves, |
| 97 | unsigned maxmoves, unsigned maxsols, unsigned optimal, | 97 | unsigned maxmoves, unsigned maxsols, unsigned optimal, |
| 98 | unsigned threads, int (*poll_status)(void *), | 98 | unsigned threads, int (*poll_status)(void *), |
| 99 | void *poll_status_data); | 99 | void *poll_status_data) const; |
| 100 | 100 | ||
| 101 | static std::variant<solver, error> get(const std::string&); | 101 | static std::variant<solver, error> get(const std::string&); |
| 102 | private: | 102 | private: |
