|
|
@ -2,6 +2,7 @@ |
|
|
|
#include "raw_code.h" |
|
|
|
|
|
|
|
using klotski::RawCode; |
|
|
|
using klotski::RawCodes; |
|
|
|
using klotski::RawCodeExp; |
|
|
|
using klotski::CommonCode; |
|
|
|
using klotski::CommonCodes; |
|
|
@ -46,8 +47,8 @@ RawCode RawCode::from_common_code(const std::string &common_code) { |
|
|
|
|
|
|
|
/// ---------------------------- Batch conversion -----------------------------
|
|
|
|
|
|
|
|
CommonCodes RawCode::convert(const RawCodes &raw_codes) noexcept { |
|
|
|
return {raw_codes.begin(), raw_codes.end()}; |
|
|
|
RawCodes RawCode::convert(const CommonCodes &common_codes) noexcept { |
|
|
|
return {common_codes.begin(), common_codes.end()}; |
|
|
|
} |
|
|
|
|
|
|
|
/// ----------------------------- Basic Functions -----------------------------
|
|
|
|