Verified Commit 99cbfb41 authored by nagayama15's avatar nagayama15

add TODO

parent 5aafa980
...@@ -25,6 +25,8 @@ namespace kyut { ...@@ -25,6 +25,8 @@ namespace kyut {
// Sort the chunk. // Sort the chunk.
std::sort(begin, end, less); std::sort(begin, end, less);
// TODO: Assume unique
// Embed watermark. // Embed watermark.
const std::size_t count = std::distance(begin, end); const std::size_t count = std::distance(begin, end);
const std::size_t bit_width = factorial_bit_width_table[count]; const std::size_t bit_width = factorial_bit_width_table[count];
...@@ -87,6 +89,8 @@ namespace kyut { ...@@ -87,6 +89,8 @@ namespace kyut {
return less(*a, *b); return less(*a, *b);
}); });
// TODO: Assume unique
const auto chunk_begin = std::begin(chunk); const auto chunk_begin = std::begin(chunk);
const auto chunk_end = std::end(chunk); const auto chunk_end = std::end(chunk);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment