mirror of https://github.com/dnomd343/klotski.git
5 changed files with 27 additions and 4 deletions
@ -1,4 +1,4 @@ |
|||||
cmake_minimum_required(VERSION 3.0) |
cmake_minimum_required(VERSION 3.0) |
||||
|
|
||||
add_library(raw_code raw_code.cc) |
add_library(raw_code convert.cc raw_code.cc) |
||||
target_link_libraries(raw_code utils common_code) |
target_link_libraries(raw_code utils common_code) |
||||
|
@ -0,0 +1,11 @@ |
|||||
|
#include "raw_code.h" |
||||
|
|
||||
|
uint64_t RawCode::compact(uint64_t raw_code) { // raw code --> common code
|
||||
|
return 0; |
||||
|
// TODO: should we throw error here?
|
||||
|
} |
||||
|
|
||||
|
/// NOTE: ensure that input common code is valid !!!
|
||||
|
uint64_t RawCode::extract(uint64_t common_code) { // common code --> raw code
|
||||
|
return 0; |
||||
|
} |
Loading…
Reference in new issue