OpenMS
FeatureGroupingAlgorithmQT.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Hendrik Weisser $
6 // $Authors: Steffen Sass, Hendrik Weisser $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
27  class OPENMS_DLLAPI FeatureGroupingAlgorithmQT :
29  {
30 public:
33 
36 
44  void group(const std::vector<FeatureMap>& maps, ConsensusMap& out) override;
45 
53  void group(const std::vector<ConsensusMap>& maps,
54  ConsensusMap& out) override;
55 
58  {
59  return new FeatureGroupingAlgorithmQT();
60  }
61 
64  {
65  return "unlabeled_qt";
66  }
67 
68 private:
69 
72 
75 
83  template <typename MapType>
84  void group_(const std::vector<MapType>& maps, ConsensusMap& out);
85  };
86 
87 } // namespace OpenMS
88 
A container for consensus elements.
Definition: ConsensusMap.h:66
A feature grouping algorithm for unlabeled data.
Definition: FeatureGroupingAlgorithmQT.h:29
void group_(const std::vector< MapType > &maps, ConsensusMap &out)
Applies the algorithm to feature or consensus maps.
~FeatureGroupingAlgorithmQT() override
Destructor.
FeatureGroupingAlgorithmQT & operator=(const FeatureGroupingAlgorithmQT &)
Assignment operator intentionally not implemented -> private.
static String getProductName()
Returns the product name (for the Factory)
Definition: FeatureGroupingAlgorithmQT.h:63
FeatureGroupingAlgorithmQT()
Default constructor.
FeatureGroupingAlgorithmQT(const FeatureGroupingAlgorithmQT &)
Copy constructor intentionally not implemented -> private.
void group(const std::vector< ConsensusMap > &maps, ConsensusMap &out) override
Applies the algorithm to consensus maps.
static FeatureGroupingAlgorithm * create()
Creates a new instance of this class (for Factory)
Definition: FeatureGroupingAlgorithmQT.h:57
void group(const std::vector< FeatureMap > &maps, ConsensusMap &out) override
Applies the algorithm to feature maps.
Base class for all feature grouping algorithms.
Definition: FeatureGroupingAlgorithm.h:25
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19