129 stop_condition_(stop_condition),
131 use_total_prob_(use_total_prob)
150 stop_condition_ = stop_condition;
156 return stop_condition_;
162 absolute_ = absolute;
172 double stop_condition_ = 0.01;
173 bool absolute_ =
false;
174 bool use_total_prob_ =
false;
bool getAbsolute()
Returns whether threshold is absolute or relative probability.
Definition: FineIsotopePatternGenerator.h:166
double getThreshold()
Get probability stop condition.
Definition: FineIsotopePatternGenerator.h:154
Definition: IsotopeDistribution.h:72
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Isotope pattern generator for fine isotope distributions.
Definition: FineIsotopePatternGenerator.h:104
void setThreshold(double stop_condition)
Set probability stop condition.
Definition: FineIsotopePatternGenerator.h:148
void setAbsolute(bool absolute)
Set whether threshold is absolute or relative probability.
Definition: FineIsotopePatternGenerator.h:160
FineIsotopePatternGenerator(double stop_condition, bool absolute=false, bool use_total_prob=false)
Constructor.
Definition: FineIsotopePatternGenerator.h:128
Provides an interface for different isotope pattern generator methods.
Definition: IsotopePatternGenerator.h:55