123 stop_condition_(stop_condition),
125 use_total_prob_(use_total_prob)
152 stop_condition_ = stop_condition;
158 return stop_condition_;
164 absolute_ = absolute;
176 use_total_prob_ = total;
182 return use_total_prob_;
186 double stop_condition_ = 0.01;
187 bool absolute_ =
false;
188 bool use_total_prob_ =
true;
Isotope pattern generator for fine isotope distributions.
Definition FineIsotopePatternGenerator.h:98
void setAbsolute(bool absolute)
Set whether threshold is absolute or relative probability (ignored if use_total_prob is true,...
Definition FineIsotopePatternGenerator.h:162
bool getTotalProbability() const
Returns whether total probability should be computed (see FineIsotopePatternGenerator() )
Definition FineIsotopePatternGenerator.h:180
bool getAbsolute() const
Returns whether threshold is absolute or relative probability (ignored if use_total_prob is true,...
Definition FineIsotopePatternGenerator.h:168
FineIsotopePatternGenerator()=default
Default Constructor.
IsotopeDistribution run(const EmpiricalFormula &ef) const override
Creates an isotope distribution from an empirical sum formula.
double getThreshold() const
Get probability stop condition (lower values generate fewer results)
Definition FineIsotopePatternGenerator.h:156
void setThreshold(double stop_condition)
Set probability stop condition (lower values generate fewer results)
Definition FineIsotopePatternGenerator.h:150
FineIsotopePatternGenerator(double stop_condition, bool use_total_prob=true, bool absolute=false)
Constructor.
Definition FineIsotopePatternGenerator.h:122
void setTotalProbability(bool total)
Set whether total probability should be computed (see FineIsotopePatternGenerator() )
Definition FineIsotopePatternGenerator.h:174
Definition IsotopeDistribution.h:40
Provides an interface for different isotope pattern generator methods.
Definition IsotopePatternGenerator.h:42
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19