|
@ -6,7 +6,7 @@ |
|
|
using namespace std; |
|
|
using namespace std; |
|
|
|
|
|
|
|
|
class HRD_analy { |
|
|
class HRD_analy { |
|
|
public: |
|
|
public: |
|
|
~HRD_analy(); |
|
|
~HRD_analy(); |
|
|
struct Case_cal { |
|
|
struct Case_cal { |
|
|
bool freeze[4][5]; // true -> no move ; false -> can move
|
|
|
bool freeze[4][5]; // true -> no move ; false -> can move
|
|
@ -45,7 +45,7 @@ class HRD_analy { |
|
|
bool Output_Path(vector <unsigned long long> target, string File_name); |
|
|
bool Output_Path(vector <unsigned long long> target, string File_name); |
|
|
void Output_Graph(unsigned long long code, unsigned int square_width, unsigned int square_gap, char str[2]); |
|
|
void Output_Graph(unsigned long long code, unsigned int square_width, unsigned int square_gap, char str[2]); |
|
|
|
|
|
|
|
|
private: |
|
|
private: |
|
|
Case_cal *now_move_case; |
|
|
Case_cal *now_move_case; |
|
|
vector <Case_cal *> *Layer_hash = new vector <Case_cal *> [0x10000]; // 哈希表
|
|
|
vector <Case_cal *> *Layer_hash = new vector <Case_cal *> [0x10000]; // 哈希表
|
|
|
unsigned int now_move_num, now_move_index; // 当前扫描节点的层编号 / 当前扫描节点的层中编号
|
|
|
unsigned int now_move_num, now_move_index; // 当前扫描节点的层编号 / 当前扫描节点的层中编号
|
|
|