149 stop_condition_(stop_condition),
151 use_total_prob_(use_total_prob)
170 stop_condition_ = stop_condition;
176 return stop_condition_;
182 absolute_ = absolute;
194 use_total_prob_ = total;
200 return use_total_prob_;
204 double stop_condition_ = 0.01;
205 bool absolute_ =
false;
206 bool use_total_prob_ =
true;
FineIsotopePatternGenerator(double stop_condition, bool use_total_prob=true, bool absolute=false)
Constructor.
Definition: FineIsotopePatternGenerator.h:148
Definition: IsotopeDistribution.h:64
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool getAbsolute() const
Returns whether threshold is absolute or relative probability (ignored if use_total_prob is true...
Definition: FineIsotopePatternGenerator.h:186
double getThreshold() const
Get probability stop condition (lower values generate fewer results)
Definition: FineIsotopePatternGenerator.h:174
bool getTotalProbability() const
Returns whether total probability should be computed (see FineIsotopePatternGenerator() ) ...
Definition: FineIsotopePatternGenerator.h:198
Isotope pattern generator for fine isotope distributions.
Definition: FineIsotopePatternGenerator.h:122
void setThreshold(double stop_condition)
Set probability stop condition (lower values generate fewer results)
Definition: FineIsotopePatternGenerator.h:168
void setTotalProbability(bool total)
Set whether total probability should be computed (see FineIsotopePatternGenerator() ) ...
Definition: FineIsotopePatternGenerator.h:192
void setAbsolute(bool absolute)
Set whether threshold is absolute or relative probability (ignored if use_total_prob is true...
Definition: FineIsotopePatternGenerator.h:180
Provides an interface for different isotope pattern generator methods.
Definition: IsotopePatternGenerator.h:67