SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
Used to select a Grouping algorithm. More...
#include <GroupingConfig.h>
Public Types | |
enum | Algorithm { Algorithm::NO_GROUPING, Algorithm::OVERLAPPING, Algorithm::SPLIT_SOURCES, Algorithm::MOFFAT } |
Public Member Functions | |
virtual | ~GroupingConfig ()=default |
Destructor. More... | |
GroupingConfig (long manager_id) | |
Constructs a new GroupingConfig object. More... | |
std::map< std::string, Configuration::OptionDescriptionList > | getProgramOptions () override |
void | initialize (const UserValues &args) override |
Algorithm | getAlgorithmOption () const |
double | getMoffatThreshold () const |
double | getMoffatMaxDistance () const |
![]() | |
virtual void | preInitialize (const UserValues &args) |
Private Attributes | |
Algorithm | m_selected_algorithm |
double | m_moffat_threshold |
double | m_moffat_max_distance |
Used to select a Grouping algorithm.
Definition at line 36 of file GroupingConfig.h.
|
strong |
Enumerator | |
---|---|
NO_GROUPING | |
OVERLAPPING | |
SPLIT_SOURCES | |
MOFFAT |
Definition at line 39 of file GroupingConfig.h.
|
virtualdefault |
Destructor.
SourceXtractor::GroupingConfig::GroupingConfig | ( | long | manager_id | ) |
Constructs a new GroupingConfig object.
Definition at line 45 of file GroupingConfig.cpp.
|
inline |
Definition at line 57 of file GroupingConfig.h.
References m_selected_algorithm.
|
inline |
Definition at line 65 of file GroupingConfig.h.
References m_moffat_max_distance.
|
inline |
Definition at line 61 of file GroupingConfig.h.
References m_moffat_threshold.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 49 of file GroupingConfig.cpp.
References std::string::c_str(), SourceXtractor::GROUPING_ALGORITHM, SourceXtractor::GROUPING_ALGORITHM_NONE, SourceXtractor::GROUPING_MOFFAT_MAX_DISTANCE, and SourceXtractor::GROUPING_MOFFAT_THRESHOLD.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 60 of file GroupingConfig.cpp.
References SourceXtractor::GROUPING_ALGORITHM, SourceXtractor::GROUPING_ALGORITHM_MOFFAT, SourceXtractor::GROUPING_ALGORITHM_NONE, SourceXtractor::GROUPING_ALGORITHM_OVERLAP, SourceXtractor::GROUPING_ALGORITHM_SPLIT, SourceXtractor::GROUPING_MOFFAT_MAX_DISTANCE, SourceXtractor::GROUPING_MOFFAT_THRESHOLD, m_moffat_max_distance, m_moffat_threshold, m_selected_algorithm, MOFFAT, NO_GROUPING, OVERLAPPING, and SPLIT_SOURCES.
|
private |
Definition at line 72 of file GroupingConfig.h.
Referenced by getMoffatMaxDistance(), and initialize().
|
private |
Definition at line 71 of file GroupingConfig.h.
Referenced by getMoffatThreshold(), and initialize().
|
private |
Definition at line 70 of file GroupingConfig.h.
Referenced by getAlgorithmOption(), and initialize().