vg
tools for working with variation graphs
Namespaces | Functions
distance_to_tail.hpp File Reference
#include <unordered_map>
#include <vg/vg.pb.h>
#include "../position.hpp"
#include "../hash_map.hpp"
#include "../handle.hpp"

Namespaces

 vg
 
 vg::algorithms
 

Functions

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)