Musaline
 All Classes Namespaces Functions Variables Pages
Public Attributes | List of all members
musaline::Alignment Struct Reference

#include <musaline.hpp>

Public Attributes

double score
 The computed similarity value for the alignment.
 
size_t start [2]
 start[i] points to the start of the matched part of sequence i. More...
 
size_t end [2]
 end[i] points one after the end of the matched part of sequence i.
 
std::vector< Matchmatches
 This vector holds details of the parts of seq0 and seq1 that are matched with each other.
 

Detailed Description

An Alignment records how two sequences (seq0 and seq1) are aligned.

Some invariants hold between the matches and the other values.

Member Data Documentation

size_t musaline::Alignment::start[2]

start[i] points to the start of the matched part of sequence i.

start[i] together with end[i] indicates the subsequence that was matched of sequence i. start indicates the first element. start[i]<=end[i], and end[i]-start[i] is the length of the subsequence that is matched.


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