Browse Source

update: move ShortCode constants in namespace klotski

master
Dnomd343 2 years ago
parent
commit
69f1abd7ed
  1. 2
      src/klotski/short_code/offset/all_cases_offset.h
  2. 2
      src/klotski/short_code/offset/basic_ranges_offset.h
  3. 2
      src/klotski/short_code/offset/range_prefix_offset.h

2
src/klotski/short_code/offset/all_cases_offset.h

@ -2,9 +2,11 @@
#include <cstdint>
namespace klotski {
const uint32_t ALL_CASES_OFFSET[16] = {
0, 2942906, 5203298, 8146204,
8146204, 10468254, 12345199, 14667249,
14667249, 16989299, 18866244, 21188294,
21188294, 24131200, 26391592, 29334498,
};
}

2
src/klotski/short_code/offset/basic_ranges_offset.h

@ -2,6 +2,7 @@
#include <cstdint>
namespace klotski {
const uint32_t BASIC_RANGES_OFFSET[4096] = {
0, 18272, 24960, 31648, 49920, 56608, 59056, 61504,
68192, 74880, 77328, 79776, 86464, 104736, 111424, 118112,
@ -516,3 +517,4 @@ const uint32_t BASIC_RANGES_OFFSET[4096] = {
7189796, 7208068, 7214415, 7220762, 7238351, 7244698, 7246483, 7248268,
7253514, 7259861, 7261646, 7263431, 7268677, 7286266, 7291512, 7296758,
};
}

2
src/klotski/short_code/offset/range_prefix_offset.h

@ -2,6 +2,7 @@
#include <cstdint>
namespace klotski {
const uint32_t RANGE_PREFIX_OFFSET[16][4096] = {{
/// --------------------------------------------------------------------- 0x0 ---------------------------------------------------------------------
0, 9527, 12991, 16067, 25594, 29058, 30527, 31657, 35121, 38525, 39766, 41041, 44445, 53972, 57436, 60512,
@ -3107,3 +3108,4 @@ const uint32_t RANGE_PREFIX_OFFSET[16][4096] = {{
}, {
/// --------------------------------------------------------------------- 0xF ---------------------------------------------------------------------
}};
}

Loading…
Cancel
Save