vg
tools for working with variation graphs
|
Score haplotypes using a linear_haplo_structure. More...
#include <haplotypes.hpp>
Public Member Functions | |
LinearScoreProvider (const linear_haplo_structure &index) | |
pair< double, bool > | score (const vg::Path &, haploMath::RRMemo &memo) |
Score the given path usign the given memo. More... | |
Public Member Functions inherited from haplo::ScoreProvider | |
virtual int64_t | get_haplotype_count () const |
virtual bool | has_incremental_search () const |
virtual IncrementalSearchState | incremental_find (const vg::Position &pos) const |
virtual IncrementalSearchState | incremental_extend (const IncrementalSearchState &state, const vg::Position &pos) const |
virtual | ~ScoreProvider ()=default |
Private Attributes | |
const linear_haplo_structure & | index |
Score haplotypes using a linear_haplo_structure.
haplo::LinearScoreProvider::LinearScoreProvider | ( | const linear_haplo_structure & | index | ) |
|
virtual |
Score the given path usign the given memo.
Implements haplo::ScoreProvider.
|
private |