83 typedef std::map<unsigned int, std::pair<unsigned int, unsigned int> >
constraints_type;
Implements MassDecomposer interface using algorithm and data structures described in paper "Efficient...
Definition: IntegerMassDecomposer.h:72
MassDecomposer< ValueType, DecompositionValueType >::decompositions_type decompositions_type
Type of container for many decompositions.
Definition: IntegerMassDecomposer.h:84
MassDecomposer< ValueType, DecompositionValueType >::value_type value_type
Type of value to be decomposed.
Definition: IntegerMassDecomposer.h:75
Handles decomposing of non-integer values/masses over a set of non-integer weights with an error allo...
Definition: RealMassDecomposer.h:68
std::pair< double, double > rounding_errors_
Minimal and maximal rounding errors.
Definition: RealMassDecomposer.h:119
std::map< unsigned int, std::pair< unsigned int, unsigned int > > constraints_type
Definition: RealMassDecomposer.h:83
Weights weights_
Weights over which values/masses to be decomposed.
Definition: RealMassDecomposer.h:116
integer_decomposer_type::decompositions_type decompositions_type
Type of result decompositions from integer decomposer.
Definition: RealMassDecomposer.h:78
unsigned long long number_of_decompositions_type
Type of the number of decompositions.
Definition: RealMassDecomposer.h:81
std::shared_ptr< integer_decomposer_type > decomposer_
Definition: RealMassDecomposer.h:128
double precision_
Precision to scale double values to integer.
Definition: RealMassDecomposer.h:122
decompositions_type getDecompositions(double mass, double error)
integer_decomposer_type::value_type integer_value_type
Type of integer values that are decomposed.
Definition: RealMassDecomposer.h:75
decompositions_type getDecompositions(double mass, double error, const constraints_type &constraints)
number_of_decompositions_type getNumberOfDecompositions(double mass, double error)
RealMassDecomposer(const Weights &weights)
IntegerMassDecomposer integer_decomposer_type
Type of integer decomposer.
Definition: RealMassDecomposer.h:72
Represents a set of weights (double values and scaled with a certain precision their integer counterp...
Definition: Weights.h:68
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47