SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
30namespace SourceXtractor {
31
37public:
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
59 }
60
61 double getMoffatThreshold() const {
62 return m_moffat_threshold;
63 }
64
65 double getMoffatMaxDistance() const {
67 }
68
69 unsigned int getHardLimit() const {
70 return m_hard_limit;
71 }
72
73private:
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
unsigned int getHardLimit() const
void initialize(const UserValues &args) override