kaori
A C++ library for barcode extraction and matching
|
Hash a combination of barcode indices. More...
#include <utils.hpp>
Public Member Functions | |
std::size_t | operator() (const std::array< BarcodeIndex, num_variable_ > &key) const |
Hash a combination of barcode indices.
Create a hash from an array representing a combination of barcode indices, usually for use in a std::unordered_map
. This involves hashing each individual index and then iteratively applying the Boost hash_combine
function.
num_variable_ | Number of variable regions, each with their own barcode indices. |
|
inline |
key | Array of barcode indices. |
key
.