vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::MultipathProblem Struct Reference

Public Member Functions

 MultipathProblem (const multipath_alignment_t &multipath_aln, bool subpath_global, bool forward)
 

Public Attributes

vector< int32_t > prefix_score
 
vector< int64_t > prev_subpath
 
vector< int64_t > prefix_length
 

Detailed Description

We define this struct for holding the dynamic programming problem for a multipath alignment, which we use for finding the optimal alignment, scoring the optimal alignment, and enumerating the top alignments.

Constructor & Destructor Documentation

◆ MultipathProblem()

vg::MultipathProblem::MultipathProblem ( const multipath_alignment_t multipath_aln,
bool  subpath_global,
bool  forward 
)
inline

Make a new MultipathProblem over the given number of subpaths with scores initialized according to whether we're doing a local or global traceback

Member Data Documentation

◆ prefix_length

vector<int64_t> vg::MultipathProblem::prefix_length

◆ prefix_score

vector<int32_t> vg::MultipathProblem::prefix_score

◆ prev_subpath

vector<int64_t> vg::MultipathProblem::prev_subpath

The documentation for this struct was generated from the following file: