#include <cluster.hpp>
|
size_t | max_walk = 50 |
| The maximum distance we will walk trying to find a shared path. More...
|
|
◆ PathOrientedDistanceMeasurer()
Construct a distance service to measures distance along paths in this graph. Optionally measures all distances on the forward strand of the paths.
◆ ~PathOrientedDistanceMeasurer()
vg::PathOrientedDistanceMeasurer::~PathOrientedDistanceMeasurer |
( |
| ) |
|
|
default |
◆ exclude_merges()
vector< pair< size_t, size_t > > vg::PathOrientedDistanceMeasurer::exclude_merges |
( |
vector< vector< size_t >> & |
current_groups, |
|
|
const function< pos_t(size_t)> & |
get_position |
|
) |
| |
|
virtual |
Return a vector of pairs of groups (referred to by indexes in the current_groups vector) that cannot have finite distances between them (typically because they are on separate components).
Implements vg::OrientedDistanceMeasurer.
◆ get_buckets()
vector< vector< size_t > > vg::PathOrientedDistanceMeasurer::get_buckets |
( |
const function< pos_t(size_t)> & |
get_position, |
|
|
size_t |
num_items |
|
) |
| |
|
virtual |
Return a vector of groups that we believe will have finite distances under this metric, can be empty.
Implements vg::OrientedDistanceMeasurer.
◆ oriented_distance()
int64_t vg::PathOrientedDistanceMeasurer::oriented_distance |
( |
const pos_t & |
pos_1, |
|
|
const pos_t & |
pos_2 |
|
) |
| |
|
virtual |
◆ graph
◆ max_walk
size_t vg::PathOrientedDistanceMeasurer::max_walk = 50 |
The maximum distance we will walk trying to find a shared path.
◆ path_component_index
const PathComponentIndex* vg::PathOrientedDistanceMeasurer::path_component_index = nullptr |
|
private |
The documentation for this class was generated from the following files: