36 #ifndef OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_REALMASSDECOMPOSER_H 37 #define OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_REALMASSDECOMPOSER_H 84 typedef std::map<unsigned int, std::pair<unsigned int, unsigned int> >
constraints_type;
100 decompositions_type getDecompositions(
double mass,
double error);
102 decompositions_type getDecompositions(
double mass,
double error,
const constraints_type & constraints);
113 number_of_decompositions_type getNumberOfDecompositions(
double mass,
double error);
135 #endif // OPENMS_CHEMISTRY_MASSDECOMPOSITION_IMS_REALMASSDECOMPOSER_H unsigned long long number_of_decompositions_type
Type of the number of decompositions.
Definition: RealMassDecomposer.h:82
integer_decomposer_type::value_type integer_value_type
Type of integer values that are decomposed.
Definition: RealMassDecomposer.h:76
std::map< unsigned int, std::pair< unsigned int, unsigned int > > constraints_type
Definition: RealMassDecomposer.h:84
Represents a set of weights (double values and scaled with a certain precision their integer counterp...
Definition: Weights.h:68
Handles decomposing of non-integer values/masses over a set of non-integer weights with an error allo...
Definition: RealMassDecomposer.h:68
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Implements MassDecomposer interface using algorithm and data structures described in paper "Efficient...
Definition: IntegerMassDecomposer.h:71
IntegerMassDecomposer integer_decomposer_type
Type of integer decomposer.
Definition: RealMassDecomposer.h:73
integer_decomposer_type::decompositions_type decompositions_type
Type of result decompositions from integer decomposer.
Definition: RealMassDecomposer.h:79
std::shared_ptr< integer_decomposer_type > decomposer_
Definition: RealMassDecomposer.h:129
double precision_
Precision to scale double values to integer.
Definition: RealMassDecomposer.h:123
MassDecomposer< ValueType, DecompositionValueType >::decompositions_type decompositions_type
Type of container for many decompositions.
Definition: IntegerMassDecomposer.h:85
Weights weights_
Weights over which values/masses to be decomposed.
Definition: RealMassDecomposer.h:117
std::pair< double, double > rounding_errors_
Minimal and maximal rounding errors.
Definition: RealMassDecomposer.h:120
MassDecomposer< ValueType, DecompositionValueType >::value_type value_type
Type of value to be decomposed.
Definition: IntegerMassDecomposer.h:76