#include <OutermostClusterizer1D.h>
Public Member Functions | |
OutermostClusterizer1D * | clone () const override |
std::pair< std::vector< Cluster1D< T > >, std::vector< const T * > > | operator() (const std::vector< Cluster1D< T > > &) const override |
OutermostClusterizer1D (const WeightEstimator< T > &est=TrivialWeightEstimator< T >()) | |
OutermostClusterizer1D (const OutermostClusterizer1D &) | |
~OutermostClusterizer1D () override | |
Public Member Functions inherited from Clusterizer1D< T > | |
virtual | ~Clusterizer1D () |
Private Attributes | |
WeightEstimator< T > * | theEstimator |
Produces two clusters for each end of the 1d data points. It then puts 50 % of the points in each cluster.
Definition at line 20 of file OutermostClusterizer1D.h.
OutermostClusterizer1D< T >::OutermostClusterizer1D | ( | const WeightEstimator< T > & | est = TrivialWeightEstimator<T>() | ) |
fraction | fraction of values that will be considered to be 'in'. |
Definition at line 50 of file OutermostClusterizer1D.h.
OutermostClusterizer1D< T >::OutermostClusterizer1D | ( | const OutermostClusterizer1D< T > & | ) |
|
override |
Definition at line 55 of file OutermostClusterizer1D.h.
References OutermostClusterizer1D< T >::theEstimator.
|
overridevirtual |
|
overridevirtual |
Implements Clusterizer1D< T >.
Definition at line 68 of file OutermostClusterizer1D.h.
References mps_fire::i, OutermostClusterizer1D< T >::theEstimator, tmp, and findQualityFiles::v.
|
private |
Definition at line 36 of file OutermostClusterizer1D.h.
Referenced by OutermostClusterizer1D< T >::operator()(), and OutermostClusterizer1D< T >::~OutermostClusterizer1D().