kaori
A C++ library for barcode extraction and matching
|
#include <BarcodeSearch.hpp>
Public Attributes | |
int | index = 0 |
int | mismatches = 0 |
State of the search.
This contains both the results of the search for any given input sequence, as well as cached mismatches to optimize searches for future inputs.
int kaori::SimpleBarcodeSearch::State::index = 0 |
Index of the known sequence that matches best to the input sequence in search()
(i.e., fewest total mismatches). If no match was found or if the best match is ambiguous, this will be set to -1.
int kaori::SimpleBarcodeSearch::State::mismatches = 0 |
Number of mismatches with the matching known sequence. This should only be used if index != -1
.