vg
tools for working with variation graphs
Public Member Functions | Private Attributes | List of all members
haplo::LinearScoreProvider Class Reference

Score haplotypes using a linear_haplo_structure. More...

#include <haplotypes.hpp>

Inheritance diagram for haplo::LinearScoreProvider:
haplo::ScoreProvider

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_structureindex
 

Detailed Description

Score haplotypes using a linear_haplo_structure.

Constructor & Destructor Documentation

◆ LinearScoreProvider()

haplo::LinearScoreProvider::LinearScoreProvider ( const linear_haplo_structure index)

Member Function Documentation

◆ score()

pair< double, bool > haplo::LinearScoreProvider::score ( const vg::Path ,
haploMath::RRMemo memo 
)
virtual

Score the given path usign the given memo.

Implements haplo::ScoreProvider.

Member Data Documentation

◆ index

const linear_haplo_structure& haplo::LinearScoreProvider::index
private

The documentation for this class was generated from the following files: