OpenMS
IDScoreSwitcherAlgorithm.h File Reference
#include <OpenMS/DATASTRUCTURES/DefaultParamHandler.h>
#include <OpenMS/CONCEPT/Exception.h>
#include <OpenMS/CONCEPT/LogStream.h>
#include <OpenMS/KERNEL/ConsensusMap.h>
#include <algorithm>
#include <vector>
#include <set>
Include dependency graph for IDScoreSwitcherAlgorithm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IDScoreSwitcherAlgorithm
 This class is used to switch identification scores within identification or consensus feature maps. More...
 
struct  IDScoreSwitcherAlgorithm::IDSwitchResult
 Structure holding score switching information for IDScoreSwitcherAlgorithm. More...
 

Namespaces

 OpenMS
 Main OpenMS namespace.
 

Class Documentation

◆ OpenMS::IDScoreSwitcherAlgorithm::IDSwitchResult

struct OpenMS::IDScoreSwitcherAlgorithm::IDSwitchResult

Structure holding score switching information for IDScoreSwitcherAlgorithm.

This structure contains both the original and requested score details, including score names, their orientation (whether higher scores are better), and score types before and after the switch. It also includes a flag to indicate if the main score has been switched. Used to switch back to the original score if needed.

Collaboration diagram for IDScoreSwitcherAlgorithm::IDSwitchResult:
[legend]
Class Members
bool original_score_higher_better The name of the original score used before the switch.
String original_score_name
ScoreType original_score_type whether a higher original score is better
bool requested_score_higher_better the type of the original score
String requested_score_name the type of the requested score
ScoreType requested_score_type whether a higher requested score is better
bool score_switched