SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
Used to select a Grouping algorithm. More...
#include <GroupingConfig.h>
Public Types | |
enum class | Algorithm { NO_GROUPING , OVERLAPPING , SPLIT_SOURCES , MOFFAT } |
![]() | |
enum class | State { CONSTRUCTED , PRE_INITIALIZED , INITIALIZED , FINAL } |
typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
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 |
![]() | |
Configuration (long manager_id) | |
virtual | ~Configuration ()=default |
virtual void | preInitialize (const UserValues &args) |
virtual void | postInitialize (const UserValues &args) |
const std::set< std::type_index > & | getDependencies () |
State & | getCurrentState () |
State | getCurrentState () const |
Private Attributes | |
Algorithm | m_selected_algorithm |
double | m_moffat_threshold |
double | m_moffat_max_distance |
Additional Inherited Members | |
![]() | |
void | declareDependency () |
T & | getDependency () |
const T & | getDependency () const |
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 std::map< K, T >::at(), std::map< K, T >::end(), std::map< K, T >::find(), 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().