|
|
@ -5,16 +5,26 @@ |
|
|
|
#include <cstdint> |
|
|
|
#include "basic_ranges.h" |
|
|
|
|
|
|
|
class AllCases : public BasicRanges { |
|
|
|
public: |
|
|
|
static void build(); |
|
|
|
static enum Status status(); |
|
|
|
static const std::vector<uint32_t> (&fetch())[16]; |
|
|
|
namespace klotski { |
|
|
|
/// all cases count
|
|
|
|
const uint32_t ALL_CASES_SIZE[16] = { |
|
|
|
2942906, 2260392, 2942906, 0, |
|
|
|
2322050, 1876945, 2322050, 0, |
|
|
|
2322050, 1876945, 2322050, 0, |
|
|
|
2942906, 2260392, 2942906, 0, |
|
|
|
}; |
|
|
|
|
|
|
|
private: |
|
|
|
static bool available; |
|
|
|
static std::mutex building; |
|
|
|
static std::vector<uint32_t> data[16]; |
|
|
|
class AllCases : public BasicRanges { |
|
|
|
public: |
|
|
|
static void build(); |
|
|
|
static enum Status status(); |
|
|
|
static const std::vector<uint32_t> (&fetch())[16]; |
|
|
|
|
|
|
|
static void build_data(); |
|
|
|
}; |
|
|
|
private: |
|
|
|
static bool available; |
|
|
|
static std::mutex building; |
|
|
|
static std::vector<uint32_t> data[16]; |
|
|
|
|
|
|
|
static void build_data(); |
|
|
|
}; |
|
|
|
} |
|
|
|