kaori
A C++ library for barcode extraction and matching
Loading...
Searching...
No Matches
Public Attributes | List of all members
kaori::SegmentedMismatches< num_segments >::Result Struct Reference

Result of the segmented search. More...

#include <MismatchTrie.hpp>

Public Attributes

int index = 0
 
int total = 0
 
std::array< int, num_segments > per_segment
 

Detailed Description

template<size_t num_segments>
struct kaori::SegmentedMismatches< num_segments >::Result

Result of the segmented search.

Member Data Documentation

◆ index

template<size_t num_segments>
int kaori::SegmentedMismatches< num_segments >::Result::index = 0

Index of the known barcode sequence matching the input sequence in search(). This is guaranteed to be non-negative only if an unambiguous match is found.

◆ per_segment

template<size_t num_segments>
std::array<int, num_segments> kaori::SegmentedMismatches< num_segments >::Result::per_segment

Number of mismatches in each segment of the sequence.

◆ total

template<size_t num_segments>
int kaori::SegmentedMismatches< num_segments >::Result::total = 0

Total number of mismatches between the barcode sequence from index and the input sequence.


The documentation for this struct was generated from the following file: