SourceXtractorPlusPlus  0.12
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  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 private:
73 
74 }; /* End of GroupingConfig class */
75 
76 } /* namespace SourceXtractor */
77 
78 #endif /* _SEIMPLEMENTATION_CONFIGURATION_GROUPINGCONFIG_H_ */
GroupingConfig(long manager_id)
Constructs a new GroupingConfig object.
STL class.
virtual ~GroupingConfig()=default
Destructor.
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
void initialize(const UserValues &args) override
Used to select a Grouping algorithm.
Algorithm getAlgorithmOption() const
std::map< std::string, boost::program_options::variable_value > UserValues