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

#include <min_cut_graph.hpp>

Public Member Functions

vector< size_t > get_node_ids ()
size_t get_size ()
Node & get_node_by_id (size_t node_id)
void add_node (size_t id, Node node)
size_t get_weight_using_other (Node prev_node, size_t other)

Private Attributes

unordered_map< size_t, Node > nodes

Member Function Documentation

◆ add_node()

void vg::algorithms::Graph::add_node ( size_t id,
Node node )
inline

◆ get_node_by_id()

Node & vg::algorithms::Graph::get_node_by_id ( size_t node_id)
inline

◆ get_node_ids()

vector< size_t > vg::algorithms::Graph::get_node_ids ( )
inline

◆ get_size()

◆ get_weight_using_other()

size_t vg::algorithms::Graph::get_weight_using_other ( Node prev_node,
size_t other )
inline

Member Data Documentation

◆ nodes

unordered_map<size_t,Node> vg::algorithms::Graph::nodes
private

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