aboutsummaryrefslogtreecommitdiff
path: root/src/solver.hpp
blob: 8c51b566d0a4230e9b254b8c68f4d87ab8189c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _ALGO_HPP_
#define _ALGO_HPP_

#include <vector>

#include "cube.h"

class Solver {
private:
  kh_cube_t *pruning_table;
  kh_cube_t *visited_states;

  void generate_pruning_table(uint32_t depth);
public:
  Solver(uint32_t pruning_tab_depth=0);
  std::vector<rotations> solve(cube_t *cube);
};

#endif /* _ALGO_HPP_ */