kaori
A C++ library for barcode extraction and matching
Loading...
Searching...
No Matches
kaori::TrieAddStatus Struct Reference

Status of barcode sequence addition to the trie. More...

#include <MismatchTrie.hpp>

Public Attributes

bool has_ambiguous = false
 
bool is_duplicate = false
 
bool duplicate_replaced = false
 
bool duplicate_cleared = false
 

Detailed Description

Status of barcode sequence addition to the trie.

This is typically returned by methods like AnyMismatches::add() and SegmentedMismatches::add().

Member Data Documentation

◆ duplicate_cleared

bool kaori::TrieAddStatus::duplicate_cleared = false

Whether the newly added sequence caused an existing duplicate to be cleared from the trie. Only set when is_duplicate = true and the trie's duplicate policy is set to DuplicateAction::NONE.

◆ duplicate_replaced

bool kaori::TrieAddStatus::duplicate_replaced = false

Whether the newly added sequence replaced a duplicate in the trie. Only set when is_duplicate = true and the trie's duplicate policy is set to DuplicateAction::LAST in the trie.

◆ has_ambiguous

bool kaori::TrieAddStatus::has_ambiguous = false

Whether the newly added sequence contains ambiguous IUPAC codes.

◆ is_duplicate

bool kaori::TrieAddStatus::is_duplicate = false

Whether the newly added sequence is a duplicate of an existing sequence in the trie.


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