72 std::size_t beginning, std::size_t length,
int tree,
int score,
const QString &protein);
int getMinScore(int tree_id) const
Returns the minimum score for a location with the provided tree_id to be saved in the heap.
std::vector< int > m_tree_scores
void resetLocationSaver()
static bool locationCompare(const Location &loc1, const Location &loc2)
void addLocation(std::size_t beginning, std::size_t length, int tree, int score, const QString &protein)
Adds a location to the locations heap. If a saved location has the same tree_id, it will replace it....
std::vector< bool > m_tree_in_heap
std::vector< Location > getLocations() const
Returns a vector containing the saved locations.
std::vector< Location > m_locations_heap
std::size_t getNextTree()
Creates a new alignment tree and returns its id.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...