vg
tools for working with variation graphs
Public Types | Public Attributes | Static Public Attributes | List of all members
vg::MIPayload Struct Reference

#include <zip_code.hpp>

Public Types

typedef std::uint64_t code_type
 

Public Attributes

net_handle_t node_handle
 
net_handle_t parent_handle
 
size_t node_length = std::numeric_limits<size_t>::max()
 
size_t prefix_sum = 0
 
size_t chain_component = 0
 
size_t parent_depth = 0
 
size_t parent_record_offset = 0
 
ZipCode::code_type_t parent_type = ZipCode::EMPTY
 
bool is_reversed = false
 
bool is_trivial_chain = false
 
bool parent_is_chain = false
 
bool parent_is_root = false
 

Static Public Attributes

constexpr static gbwtgraph::Payload NO_CODE = {0, 0}
 
constexpr static std::size_t NO_VALUE = std::numeric_limits<size_t>::max()
 

Detailed Description

The payload for the minimizer index. This stores distance information that gets used in clustering The payload now uses zip codes, so this gets used to go from a zip code to distance information usable by the clusterer

Member Typedef Documentation

◆ code_type

typedef std::uint64_t vg::MIPayload::code_type

Member Data Documentation

◆ chain_component

size_t vg::MIPayload::chain_component = 0

◆ is_reversed

bool vg::MIPayload::is_reversed = false

◆ is_trivial_chain

bool vg::MIPayload::is_trivial_chain = false

◆ NO_CODE

constexpr static gbwtgraph::Payload vg::MIPayload::NO_CODE = {0, 0}
staticconstexpr

◆ NO_VALUE

constexpr static std::size_t vg::MIPayload::NO_VALUE = std::numeric_limits<size_t>::max()
staticconstexpr

◆ node_handle

net_handle_t vg::MIPayload::node_handle

◆ node_length

size_t vg::MIPayload::node_length = std::numeric_limits<size_t>::max()

◆ parent_depth

size_t vg::MIPayload::parent_depth = 0

◆ parent_handle

net_handle_t vg::MIPayload::parent_handle

◆ parent_is_chain

bool vg::MIPayload::parent_is_chain = false

◆ parent_is_root

bool vg::MIPayload::parent_is_root = false

◆ parent_record_offset

size_t vg::MIPayload::parent_record_offset = 0

◆ parent_type

ZipCode::code_type_t vg::MIPayload::parent_type = ZipCode::EMPTY

◆ prefix_sum

size_t vg::MIPayload::prefix_sum = 0

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