73 std::size_t current_column,
74 std::size_t previous_row,
75 std::size_t previous_column,
82 void reserve(std::size_t n_rows, std::size_t n_columns);
void saveOrigin(std::size_t current_row, std::size_t current_column, std::size_t previous_row, std::size_t previous_column, int score, AlignType alignment_type)
Stores the origin (cell location and alignment type) of the provided cell in the backtracking matrix.
std::pair< ScenarioCell, int > m_best_alignment
std::vector< std::vector< ScenarioCell > > m_origin_matrix
void reserve(std::size_t n_rows, std::size_t n_columns)
Allocate new storage to the backtracking matrix if needed.
std::pair< std::vector< ScenarioCell >, int > getBestAlignment() const
Returns the scenario cells corresponding to the best alignment and the best alignment's score.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::size_t previous_column