|
SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
|
Used to select a Grouping algorithm. More...
#include <GroupingConfig.h>


Public Types | |
| enum class | Algorithm { NO_GROUPING , OVERLAPPING , SPLIT_SOURCES , MOFFAT } |
Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State |
| 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. | |
| GroupingConfig (long manager_id) | |
| Constructs a new GroupingConfig object. | |
| std::map< std::string, Configuration::OptionDescriptionList > | getProgramOptions () override |
| void | initialize (const UserValues &args) override |
| Algorithm | getAlgorithmOption () const |
| double | getMoffatThreshold () const |
| double | getMoffatMaxDistance () const |
| unsigned int | getHardLimit () const |
Public Member Functions inherited from Euclid::Configuration::Configuration | |
| Configuration (long manager_id) | |
| virtual | ~Configuration ()=default |
| virtual std::map< std::string, OptionDescriptionList > | getProgramOptions () |
| virtual void | preInitialize (const UserValues &args) |
| virtual void | initialize (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 |
| unsigned int | m_hard_limit |
Additional Inherited Members | |
Protected Member Functions inherited from Euclid::Configuration::Configuration | |
| 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.
|
explicit |
Constructs a new GroupingConfig object.
Definition at line 46 of file GroupingConfig.cpp.
|
inline |
Definition at line 57 of file GroupingConfig.h.
References m_selected_algorithm.
|
inline |
Definition at line 69 of file GroupingConfig.h.
References m_hard_limit.
|
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 51 of file GroupingConfig.cpp.
References std::string::c_str(), SourceXtractor::GROUPING_ALGORITHM, SourceXtractor::GROUPING_ALGORITHM_SPLIT, SourceXtractor::GROUPING_HARD_LIMIT, SourceXtractor::GROUPING_MOFFAT_MAX_DISTANCE, and SourceXtractor::GROUPING_MOFFAT_THRESHOLD.

|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 64 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_HARD_LIMIT, SourceXtractor::GROUPING_MOFFAT_MAX_DISTANCE, SourceXtractor::GROUPING_MOFFAT_THRESHOLD, m_hard_limit, m_moffat_max_distance, m_moffat_threshold, m_selected_algorithm, MOFFAT, NO_GROUPING, OVERLAPPING, and SPLIT_SOURCES.

|
private |
Definition at line 77 of file GroupingConfig.h.
Referenced by getHardLimit(), and initialize().
|
private |
Definition at line 76 of file GroupingConfig.h.
Referenced by getMoffatMaxDistance(), and initialize().
|
private |
Definition at line 75 of file GroupingConfig.h.
Referenced by getMoffatThreshold(), and initialize().
|
private |
Definition at line 74 of file GroupingConfig.h.
Referenced by getAlgorithmOption(), and initialize().