vg
tools for working with variation graphs
Namespaces | Functions
distance_to_tail.cpp File Reference
#include "distance_to_tail.hpp"
#include <unordered_map>

Namespaces

 vg
 
 vg::algorithms
 

Functions

bool vg::algorithms::is_tail_node (handle_t h, const HandleGraph *g)
 
int32_t vg::algorithms::distance_to_tail (handle_t h, int32_t limit, const HandleGraph *graph)
 
int32_t vg::algorithms::distance_to_tail (handle_t h, int32_t limit, int32_t dist, unordered_set< handle_t > &seen, const HandleGraph *graph)