vg
tools for working with variation graphs
Loading...
Searching...
No Matches
vg::ZipCode::decoder_t Struct Reference

#include <zip_code.hpp>

Public Member Functions

 decoder_t (bool is_chain, size_t offset)
bool operator== (const decoder_t &other) const

Public Attributes

bool is_chain: 1
size_t offset: 15

Detailed Description

The decoder as a vector of pair<is_chain, index>, one for each snarl tree node in the zip where is_chain indicates whether it's a chain/node, and index is the index of the node/snarl/chain code in the varint_vector_t

Constructor & Destructor Documentation

◆ decoder_t()

vg::ZipCode::decoder_t::decoder_t ( bool is_chain,
size_t offset )
inline

Member Function Documentation

◆ operator==()

bool vg::ZipCode::decoder_t::operator== ( const decoder_t & other) const
inline

Member Data Documentation

◆ is_chain

bool vg::ZipCode::decoder_t::is_chain

◆ offset

size_t vg::ZipCode::decoder_t::offset

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