-
Notifications
You must be signed in to change notification settings - Fork 2
/
HRD_statistic.h
40 lines (35 loc) · 989 Bytes
/
HRD_statistic.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef HRD_statistic_H
#define HRD_statistic_H
#include <vector>
#include <string>
using namespace std;
class HRD_statistic {
public:
void Find_All_Case(string File_name);
void All_Statistic();
private:
struct Case {
unsigned int id;
bool is_mirror;
unsigned long long code;
unsigned char jiang_num;
unsigned char bing_num;
unsigned char style_num;
unsigned int group_num;
unsigned int group_index;
};
struct Case_group {
unsigned int id;
unsigned long long code;
unsigned int group_num;
unsigned int group_index;
};
vector <Case *> All_Case; // 记录所有布局的信息
void Get_seed();
void Find_All_Case();
void Sort_All_Case();
vector <Case_group *> Split_Group(vector <unsigned long long> dat);
void Output_All_Case(string File_name);
void Output_main_table(string File_name);
};
#endif