SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MoffatGrouping.h
Go to the documentation of this file.
1
17
18#ifndef _SEIMPLEMENTATION_GROUPING_MOFFATGROUPING_H_
19#define _SEIMPLEMENTATION_GROUPING_MOFFATGROUPING_H_
20
22#include "SEUtils/QuadTree.h"
23
24#include <map>
25#include <vector>
26#include <functional>
27
28namespace SourceXtractor {
29
64
65}
66
67#endif /* _SEIMPLEMENTATION_GROUPING_MOFFATGROUPING_H_ */
void receiveProcessSignal(const ProcessSourcesEvent &event) override
Handles a ProcessSourcesEvent to trigger the processing of some of the Sources stored in SourceGroupi...
MoffatGrouping(std::shared_ptr< GroupingCriteria > grouping_criteria, std::shared_ptr< SourceGroupFactory > group_factory, unsigned int hard_limit, float max_range)
std::set< PropertyId > requiredProperties() const override
Returns the set of required properties to compute the grouping.
QuadTree< std::shared_ptr< SourceInfo > > m_tree
std::vector< std::shared_ptr< SourceInfo > > Group
virtual ~MoffatGrouping()=default
std::shared_ptr< SourceGroupFactory > m_group_factory
void processGroup(unsigned int group_id)
std::shared_ptr< GroupingCriteria > m_grouping_criteria
void receiveSource(std::unique_ptr< SourceInterface > source) override
Handles a new Source.
std::map< unsigned int, std::shared_ptr< Group > > m_groups
std::unique_ptr< SourceInterface > m_source
Event received by SourceGrouping to request the processing of some of the Sources stored.