#include <cluster.hpp>
◆ SnarlOrientedDistanceMeasurer()
vg::SnarlOrientedDistanceMeasurer::SnarlOrientedDistanceMeasurer |
( |
SnarlDistanceIndex * |
distance_index | ) |
|
◆ ~SnarlOrientedDistanceMeasurer()
vg::SnarlOrientedDistanceMeasurer::~SnarlOrientedDistanceMeasurer |
( |
| ) |
|
|
default |
◆ exclude_merges()
vector< pair< size_t, size_t > > vg::SnarlOrientedDistanceMeasurer::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::SnarlOrientedDistanceMeasurer::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::SnarlOrientedDistanceMeasurer::oriented_distance |
( |
const pos_t & |
pos_1, |
|
|
const pos_t & |
pos_2 |
|
) |
| |
|
virtual |
◆ distance_index
SnarlDistanceIndex* vg::SnarlOrientedDistanceMeasurer::distance_index = nullptr |
|
private |
The documentation for this class was generated from the following files: