SourceXtractorPlusPlus  0.16
Please provide a description of the project.
GroupingConfig.h
Go to the documentation of this file.
1 
17 /*
18  * GroupingConfig.h
19  *
20  * Created on: Jul 3, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_CONFIGURATION_GROUPINGCONFIG_H_
25 #define _SEIMPLEMENTATION_CONFIGURATION_GROUPINGCONFIG_H_
26 
27 #include <memory>
29 
30 namespace SourceXtractor {
31 
37 public:
38 
39  enum class Algorithm {
43  MOFFAT,
44  };
45 
49  virtual ~GroupingConfig() = default;
50 
52  explicit GroupingConfig(long manager_id);
53 
55  void initialize(const UserValues& args) override;
56 
58  return m_selected_algorithm;
59  }
60 
61  double getMoffatThreshold() const {
62  return m_moffat_threshold;
63  }
64 
65  double getMoffatMaxDistance() const {
66  return m_moffat_max_distance;
67  }
68 
69  unsigned int getHardLimit() const {
70  return m_hard_limit;
71  }
72 
73 private:
77  unsigned int m_hard_limit;
78 
79 }; /* End of GroupingConfig class */
80 
81 } /* namespace SourceXtractor */
82 
83 #endif /* _SEIMPLEMENTATION_CONFIGURATION_GROUPINGCONFIG_H_ */
Used to select a Grouping algorithm.
Algorithm getAlgorithmOption() const
virtual ~GroupingConfig()=default
Destructor.
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
GroupingConfig(long manager_id)
Constructs a new GroupingConfig object.
unsigned int getHardLimit() const
void initialize(const UserValues &args) override