vg
tools for working with variation graphs
Loading...
Searching...
No Matches
GraphHandler Struct Reference

Public Types

enum  graph_type { graph_none , graph_path , graph_naive , graph_gbz }

Public Member Functions

const PathHandleGraph * get_any_graph (const GBWTConfig &config)
void get_graph (const GBWTConfig &config)
void use (std::unique_ptr< gbwtgraph::NaiveGraph > &source)
void load_gbz (GBWTHandler &gbwts, GBWTConfig &config)
void clear ()
void serialize_segment_translation (const GBWTConfig &config) const

Public Attributes

std::unique_ptr< PathHandleGraph > path_graph = nullptr
std::unique_ptr< gbwtgraph::NaiveGraph > naive_graph = nullptr
std::unique_ptr< gbwtgraph::GBZ > gbz_graph = nullptr
graph_type in_use = graph_none

Member Enumeration Documentation

◆ graph_type

Enumerator
graph_none 
graph_path 
graph_naive 
graph_gbz 

Member Function Documentation

◆ clear()

void GraphHandler::clear ( )

◆ get_any_graph()

const PathHandleGraph * GraphHandler::get_any_graph ( const GBWTConfig & config)

◆ get_graph()

void GraphHandler::get_graph ( const GBWTConfig & config)

◆ load_gbz()

void GraphHandler::load_gbz ( GBWTHandler & gbwts,
GBWTConfig & config )

◆ serialize_segment_translation()

void GraphHandler::serialize_segment_translation ( const GBWTConfig & config) const

◆ use()

void GraphHandler::use ( std::unique_ptr< gbwtgraph::NaiveGraph > & source)

Member Data Documentation

◆ gbz_graph

std::unique_ptr<gbwtgraph::GBZ> GraphHandler::gbz_graph = nullptr

◆ in_use

graph_type GraphHandler::in_use = graph_none

◆ naive_graph

std::unique_ptr<gbwtgraph::NaiveGraph> GraphHandler::naive_graph = nullptr

◆ path_graph

std::unique_ptr<PathHandleGraph> GraphHandler::path_graph = nullptr

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