effspm 0.2.7__cp39-cp39-win_amd64.whl → 0.3.3__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. effspm/_effspm.cp39-win_amd64.pyd +0 -0
  2. effspm/_effspm.cpp +961 -210
  3. effspm/btminer/src/build_mdd.cpp +42 -17
  4. effspm/btminer/src/build_mdd.hpp +13 -19
  5. effspm/btminer/src/freq_miner.cpp +134 -49
  6. effspm/btminer/src/freq_miner.hpp +16 -0
  7. effspm/btminer/src/load_inst.cpp +211 -126
  8. effspm/btminer/src/load_inst.hpp +22 -4
  9. effspm/btminer/src/main.cpp +83 -0
  10. effspm/btminer/src/utility.cpp +26 -41
  11. effspm/btminer/src/utility.hpp +6 -30
  12. effspm/freq_miner.hpp +2 -1
  13. effspm/htminer/src/build_mdd.cpp +46 -124
  14. effspm/htminer/src/build_mdd.hpp +56 -49
  15. effspm/htminer/src/freq_miner.cpp +341 -307
  16. effspm/htminer/src/freq_miner.hpp +39 -40
  17. effspm/htminer/src/load_inst.cpp +287 -336
  18. effspm/htminer/src/load_inst.hpp +23 -6
  19. effspm/htminer/src/main.cpp +97 -0
  20. effspm/htminer/src/utility.cpp +38 -57
  21. effspm/htminer/src/utility.hpp +9 -64
  22. effspm/largebm/src/build_mdd.cpp +69 -110
  23. effspm/largebm/src/build_mdd.hpp +22 -37
  24. effspm/largebm/src/freq_miner.cpp +241 -291
  25. effspm/largebm/src/freq_miner.hpp +25 -36
  26. effspm/largebm/src/load_inst.cpp +20 -26
  27. effspm/largebm/src/load_inst.hpp +24 -34
  28. effspm/largebm/src/main.cpp +95 -0
  29. effspm/largebm/src/utility.cpp +11 -21
  30. effspm/largebm/src/utility.hpp +7 -10
  31. effspm/largehm/src/build_mdd.cpp +75 -110
  32. effspm/largehm/src/build_mdd.hpp +53 -73
  33. effspm/largehm/src/freq_miner.cpp +134 -191
  34. effspm/largehm/src/freq_miner.hpp +37 -60
  35. effspm/largehm/src/load_inst.cpp +137 -174
  36. effspm/largehm/src/load_inst.hpp +13 -50
  37. effspm/largehm/src/main.cpp +95 -0
  38. effspm/largehm/src/utility.cpp +46 -28
  39. effspm/largehm/src/utility.hpp +18 -16
  40. effspm/largepp/src/freq_miner.cpp +184 -156
  41. effspm/largepp/src/freq_miner.hpp +11 -36
  42. effspm/largepp/src/load_inst.cpp +32 -12
  43. effspm/largepp/src/load_inst.hpp +15 -9
  44. effspm/largepp/src/main.cpp +108 -0
  45. effspm/largepp/src/pattern.hpp +31 -0
  46. effspm/load_inst.cpp +8 -8
  47. effspm/load_inst.hpp +1 -1
  48. effspm/main.cpp +103 -0
  49. {effspm-0.2.7.dist-info → effspm-0.3.3.dist-info}/METADATA +1 -1
  50. effspm-0.3.3.dist-info/RECORD +60 -0
  51. effspm-0.2.7.dist-info/RECORD +0 -53
  52. {effspm-0.2.7.dist-info → effspm-0.3.3.dist-info}/WHEEL +0 -0
  53. {effspm-0.2.7.dist-info → effspm-0.3.3.dist-info}/licenses/LICENSE +0 -0
  54. {effspm-0.2.7.dist-info → effspm-0.3.3.dist-info}/top_level.txt +0 -0
@@ -2,59 +2,58 @@
2
2
 
3
3
  #include "load_inst.hpp"
4
4
  #include "build_mdd.hpp"
5
+ #include <vector>
5
6
 
6
7
  namespace htminer {
8
+
9
+ using std::vector;
10
+
7
11
  void Freq_miner();
8
12
 
9
13
  class Pattern {
10
14
  public:
11
-
12
- vector<int> seq;
13
- vector<unsigned int> str_pnt;
14
- vector<int> list;
15
-
16
- unsigned long long int freq;
17
-
18
- Pattern(int item) {
19
- seq.push_back(item);
20
- freq = 0;
21
- }
22
-
23
- Pattern(size_t _pnt, bool _res) {
24
- str_pnt.reserve(_pnt);
25
- freq = 0;
26
- }
27
-
28
- Pattern() {
29
- freq = 0;
30
- }
31
-
32
-
15
+ vector<int> seq;
16
+ vector<unsigned int> str_pnt;
17
+ vector<int> list;
18
+ unsigned long long int freq;
19
+
20
+ Pattern(int item) {
21
+ seq.push_back(item);
22
+ freq = 0;
23
+ }
24
+
25
+ Pattern(size_t _pnt, bool /*_res*/) {
26
+ str_pnt.reserve(_pnt);
27
+ freq = 0;
28
+ }
29
+
30
+ Pattern() {
31
+ freq = 0;
32
+ }
33
33
  };
34
34
 
35
35
  class VPattern {
36
36
  public:
37
-
38
- unsigned long long int ass_patt;
39
-
40
- vector<int> str_pnt;
41
- vector<unsigned int> seq_ID;
42
-
43
- VPattern(unsigned long long int _patt) {
44
- ass_patt = _patt;
45
- }
46
-
47
- VPattern(size_t _pnt, bool a) {
48
- str_pnt.reserve(_pnt);
49
- }
50
-
51
- VPattern() {}
37
+ unsigned long long int ass_patt;
38
+ vector<int> str_pnt;
39
+ vector<unsigned int> seq_ID;
40
+
41
+ VPattern(unsigned long long int _patt) {
42
+ ass_patt = _patt;
43
+ }
44
+
45
+ VPattern(size_t _pnt, bool /*a*/) {
46
+ str_pnt.reserve(_pnt);
47
+ ass_patt = 0;
48
+ }
49
+
50
+ VPattern() {
51
+ ass_patt = 0;
52
+ }
52
53
  };
53
54
 
54
-
55
55
  extern unsigned long long int num_patt;
56
56
  extern vector<Pattern> DFS;
57
57
  extern vector<VPattern> VDFS;
58
58
 
59
- }
60
-
59
+ } // namespace htminer