vg
tools for working with variation graphs
Loading...
Searching...
No Matches
Namespaces | Functions
distance_to_head.cpp File Reference
#include "distance_to_head.hpp"
#include <unordered_map>

Namespaces

namespace  vg
 
namespace  vg::algorithms
 

Functions

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