35 #ifndef OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERALGORITHM_H
36 #define OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERALGORITHM_H
73 template <
class PeakType,
class FeatureType>
105 virtual void run() = 0;
132 if (seeds.size() != 0)
134 throw Exception::IllegalArgument(__FILE__, __LINE__, __PRETTY_FUNCTION__,
"The used feature detection algorithm does not support user-specified seed lists!");
160 #endif // OPENMS_TRANSFORMATIONS_FEATUREFINDER_FEATUREFINDERALGORITHM_H
UInt no_exceptions
Definition: FeatureFinderAlgorithm.h:53
FeatureMapType * features_
Output data pointer.
Definition: FeatureFinderAlgorithm.h:144
Param defaults_
Container for default parameters. This member should be filled in the constructor of derived classes!...
Definition: DefaultParamHandler.h:155
FeatureFinder * ff_
Pointer to the calling FeatureFinder that is used to access the feature flags.
Definition: FeatureFinderAlgorithm.h:147
MapType::CoordinateType CoordinateType
Coordinate/Position type of peaks.
Definition: FeatureFinderAlgorithm.h:81
const MapType * map_
Input data pointer.
Definition: FeatureFinderAlgorithm.h:141
std::map< String, UInt > mz_model
Definition: FeatureFinderAlgorithm.h:54
A container for features.
Definition: FeatureMap.h:111
FeatureFinderAlgorithm()
default constructor
Definition: FeatureFinderAlgorithm.h:88
Abstract base class for FeatureFinder algorithms.
Definition: FeatureFinderAlgorithm.h:74
MSExperiment< PeakType > MapType
Input map type.
Definition: FeatureFinderAlgorithm.h:79
virtual Param getDefaultParameters() const
Returns the default parameters. Reimplment.
Definition: FeatureFinderAlgorithm.h:112
PeakType::IntensityType IntensityType
Intenstiy type of peaks.
Definition: MSExperiment.h:87
FeatureFinderAlgorithm & operator=(const FeatureFinderAlgorithm &)
Not implemented.
std::map< float, UInt > mz_stdev
Definition: FeatureFinderAlgorithm.h:55
A method or algorithm argument contains illegal values.
Definition: Exception.h:634
FeatureMap< FeatureType > FeatureMapType
Output feature type.
Definition: FeatureFinderAlgorithm.h:85
std::map< String, UInt > exception
Definition: FeatureFinderAlgorithm.h:52
virtual void run()=0
Main method that implements the actual algorithm.
std::vector< UInt > charge
Definition: FeatureFinderAlgorithm.h:56
Summary of fitting results.
Definition: FeatureFinderAlgorithm.h:50
static void registerChildren()
register all derived classes here (see FeatureFinderAlgorithm_impl.h)
Definition: FeatureFinderAlgorithm_impl.h:52
virtual void setSeeds(const FeatureMapType &seeds)
Sets a reference to the calling FeatureFinder.
Definition: FeatureFinderAlgorithm.h:130
Management and storage of parameters / INI files.
Definition: Param.h:69
Representation of a mass spectrometry experiment.
Definition: MSExperiment.h:68
DoubleReal corr_min
Definition: FeatureFinderAlgorithm.h:57
virtual ~FeatureFinderAlgorithm()
destructor
Definition: FeatureFinderAlgorithm.h:97
MapType::IntensityType IntensityType
Intensity type of peaks.
Definition: FeatureFinderAlgorithm.h:83
The main feature finder class.
Definition: FeatureFinder.h:57
Summary()
Initial values.
Definition: FeatureFinderAlgorithm.h:60
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:90
void setData(const MapType &map, FeatureMapType &features, FeatureFinder &ff)
Sets a reference to the calling FeatureFinder.
Definition: FeatureFinderAlgorithm.h:118