SourceXtractorPlusPlus 0.21
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>
28#include "Configuration/Configuration.h"
29
30namespace SourceXtractor {
31
37public:
38
39 enum class Algorithm {
43 MOFFAT,
44 ASSOC,
45 };
46
50 virtual ~GroupingConfig() = default;
51
53 explicit GroupingConfig(long manager_id);
54
56 void initialize(const UserValues& args) override;
57
61
62 double getMoffatThreshold() const {
63 return m_moffat_threshold;
64 }
65
66 double getMoffatMaxDistance() const {
68 }
69
70 unsigned int getHardLimit() const {
71 return m_hard_limit;
72 }
73
74private:
78 unsigned int m_hard_limit;
79
80}; /* End of GroupingConfig class */
81
82} /* namespace SourceXtractor */
83
84#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