Changeset View
Changeset View
Standalone View
Standalone View
patsolve/freecellsolver.h
Show All 26 Lines | |||||
27 | 27 | | |||
28 | class FreecellSolver : public FcSolveSolver | 28 | class FreecellSolver : public FcSolveSolver | ||
29 | { | 29 | { | ||
30 | public: | 30 | public: | ||
31 | explicit FreecellSolver(const Freecell *dealer); | 31 | explicit FreecellSolver(const Freecell *dealer); | ||
32 | int good_automove(int o, int r); | 32 | int good_automove(int o, int r); | ||
33 | int get_possible_moves(int *a, int *numout) override; | 33 | int get_possible_moves(int *a, int *numout) override; | ||
34 | #if 0 | 34 | #if 0 | ||
35 | bool isWon() Q_DECL_OVERRIDE; | 35 | bool isWon() override; | ||
36 | void make_move(MOVE *m) Q_DECL_OVERRIDE; | 36 | void make_move(MOVE *m) override; | ||
37 | void undo_move(MOVE *m) Q_DECL_OVERRIDE; | 37 | void undo_move(MOVE *m) override; | ||
38 | void prioritize(MOVE *mp0, int n) Q_DECL_OVERRIDE; | 38 | void prioritize(MOVE *mp0, int n) override; | ||
39 | int getOuts() Q_DECL_OVERRIDE; | 39 | int getOuts() override; | ||
40 | unsigned int getClusterNumber() Q_DECL_OVERRIDE; | 40 | unsigned int getClusterNumber() override; | ||
41 | void translate_layout() Q_DECL_OVERRIDE; | 41 | void translate_layout() override; | ||
42 | void unpack_cluster( unsigned int k ) Q_DECL_OVERRIDE; | 42 | void unpack_cluster( unsigned int k ) override; | ||
43 | MoveHint translateMove(const MOVE &m) Q_DECL_OVERRIDE; | 43 | MoveHint translateMove(const MOVE &m) override; | ||
44 | #endif | 44 | #endif | ||
45 | void translate_layout() override; | 45 | void translate_layout() override; | ||
46 | #if 0 | 46 | #if 0 | ||
47 | virtual void unpack_cluster( unsigned int k ); | 47 | virtual void unpack_cluster( unsigned int k ); | ||
48 | #endif | 48 | #endif | ||
49 | MoveHint translateMove(const MOVE &m) override; | 49 | MoveHint translateMove(const MOVE &m) override; | ||
50 | void setFcSolverGameParams() override; | 50 | void setFcSolverGameParams() override; | ||
51 | int get_cmd_line_arg_count() override; | 51 | int get_cmd_line_arg_count() override; | ||
Show All 20 Lines |