CluE
1.0
|
Calculates the k-center weight. More...
#include <kcenterevaluator.h>
Public Member Functions | |
KCenterEvaluator (DissimilarityMeasure< T > const *measure=0) | |
Instantiates KCenterEvaluator, optionally with a DissimilarityMeasure to use when calculation the maximum diameter. More... | |
KCenterEvaluator (const KCenterEvaluator< T > &) | |
KCenterEvaluator< T > & | operator= (const KCenterEvaluator< T > &) |
virtual | ~KCenterEvaluator () |
virtual void | setMeasure (DissimilarityMeasure< T > const *measure) |
Sets the DissimilarityMeasure used when calculating the radius. More... | |
virtual double | proxycost (std::vector< T * > const &points, std::vector< T > const &proxies) const |
Assigns all points to a proxy and calculates the k-center weight of the resulting clustering. More... | |
virtual double | proxycost (std::vector< T * > const &points, std::vector< T * > const &proxies) const |
virtual double | proxycost (std::vector< T * > const &points, ProxyProvider< T > const &proxySource, unsigned int solutionIndex) const |
Assigns all points to a proxy (provided by proxySource) and calculates the k-center weight of the resulting clustering. More... | |
virtual double | proxycost (std::vector< T * > const &points, DiscreteProxyProvider< T > const &proxySource, unsigned int solutionIndex) const |
virtual double | proxycost (std::vector< T * > const &points, std::vector< T > const &proxies, unsigned int index) const |
Assigns all points to a proxy and calculates the k-center weight of the cluster[index]. More... | |
virtual double | proxycost (std::vector< T * > const &points, std::vector< T * > const &proxies, unsigned int index) const |
virtual double | proxycost (std::vector< T * > const &points, ProxyProvider< T > const &proxySource, unsigned int solutionIndex, unsigned int proxyIndex) const |
Assigns all points to a proxy (provided by proxySource) and calculates the k-center weight of the cluster[index]. More... | |
virtual double | proxycost (std::vector< T * > const &points, DiscreteProxyProvider< T > const &proxySource, unsigned int solutionIndex, unsigned int proxyIndex) const |
virtual double | combinedcost (std::vector< std::vector< T * > > const &clusters, std::vector< T > const &proxies) const |
Calculates the k-center weight of a given clustering. More... | |
virtual double | combinedcost (std::vector< std::vector< T * > > const &clusters, std::vector< T * > const &proxies) const |
virtual double | combinedcost (PartitionProvider< T > const &clusteringSource, ProxyProvider< T > const &proxySource, unsigned int solutionIndex) const |
Calculates the k-center weight of a given clustering (provided by clusteringSource and proxySource). More... | |
virtual double | combinedcost (PartitionProvider< T > const &clusteringSource, DiscreteProxyProvider< T > const &proxySource, unsigned int solutionIndex) const |
virtual double | combinedcost (std::vector< T * > const &cluster, T const &proxy) const |
Calculates the k-center weight of a given proxy and the corresponding points. More... | |
virtual double | combinedcost (PartitionProvider< T > const &clusteringSource, ProxyProvider< T > const &proxySource, unsigned int solutionIndex, unsigned int proxyIndex) const |
Calculates the k-center weight of a given proxy (provided by proxySource) and the corresponding points (provided by clusteringSource). More... | |
virtual double | combinedcost (PartitionProvider< T > const &clusteringSource, DiscreteProxyProvider< T > const &proxySource, unsigned int solutionIndex, unsigned int proxyIndex) const |
![]() | |
virtual | ~ProxyEvaluation () |
![]() | |
virtual | ~Evaluation () |
![]() | |
virtual | ~CombinedEvaluation () |
virtual double | combinedcost (std::vector< T * > const &partition, T const *const proxy) const |
Protected Member Functions | |
std::vector< double > | proxycostGeneric (std::vector< T * > const &points, std::vector< T > const &proxies) const |
Provides a k-center weight result per cluster (may be added, chosen from, ...). More... | |
std::vector< double > | proxycostGeneric (std::vector< T * > const &points, std::vector< T * > const &proxies) const |
Private Attributes | |
DissimilarityMeasure< T > * | measure |
Calculates the k-center weight.
Definition at line 19 of file kcenterevaluator.h.
CluE::KCenterEvaluator< T >::KCenterEvaluator | ( | DissimilarityMeasure< T > const * | measure = 0 | ) |
Instantiates KCenterEvaluator, optionally with a DissimilarityMeasure to use when calculation the maximum diameter.
measure | Optional. Nevertheless, you have to set a DissimilarityMeasure before using this class. |
Definition at line 134 of file kcenterevaluator.h.
CluE::KCenterEvaluator< T >::KCenterEvaluator | ( | const KCenterEvaluator< T > & | kce | ) |
Definition at line 140 of file kcenterevaluator.h.
|
virtual |
Definition at line 158 of file kcenterevaluator.h.
KCenterEvaluator< T > & CluE::KCenterEvaluator< T >::operator= | ( | const KCenterEvaluator< T > & | kce | ) |
Definition at line 145 of file kcenterevaluator.h.
|
virtual |
Sets the DissimilarityMeasure used when calculating the radius.
Implements CluE::MeasureSetter< T >.
Definition at line 229 of file kcenterevaluator.h.
|
virtual |
Assigns all points to a proxy and calculates the k-center weight of the resulting clustering.
Implements CluE::ProxyEvaluation< T >.
Definition at line 166 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::ProxyEvaluation< T >.
Definition at line 181 of file kcenterevaluator.h.
|
virtual |
Assigns all points to a proxy (provided by proxySource) and calculates the k-center weight of the resulting clustering.
Implements CluE::ProxyEvaluation< T >.
Definition at line 196 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::ProxyEvaluation< T >.
Definition at line 201 of file kcenterevaluator.h.
|
virtual |
Assigns all points to a proxy and calculates the k-center weight of the cluster[index].
Implements CluE::ProxyEvaluation< T >.
Definition at line 207 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::ProxyEvaluation< T >.
Definition at line 213 of file kcenterevaluator.h.
|
virtual |
Assigns all points to a proxy (provided by proxySource) and calculates the k-center weight of the cluster[index].
Implements CluE::ProxyEvaluation< T >.
Definition at line 219 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::ProxyEvaluation< T >.
Definition at line 224 of file kcenterevaluator.h.
|
virtual |
Calculates the k-center weight of a given clustering.
Implements CluE::CombinedEvaluation< T >.
Definition at line 302 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::CombinedEvaluation< T >.
Definition at line 335 of file kcenterevaluator.h.
|
virtual |
Calculates the k-center weight of a given clustering (provided by clusteringSource and proxySource).
Implements CluE::CombinedEvaluation< T >.
Definition at line 368 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::CombinedEvaluation< T >.
Definition at line 373 of file kcenterevaluator.h.
|
virtual |
Calculates the k-center weight of a given proxy and the corresponding points.
Implements CluE::CombinedEvaluation< T >.
Definition at line 378 of file kcenterevaluator.h.
|
virtual |
Calculates the k-center weight of a given proxy (provided by proxySource) and the corresponding points (provided by clusteringSource).
Implements CluE::CombinedEvaluation< T >.
Definition at line 393 of file kcenterevaluator.h.
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements CluE::CombinedEvaluation< T >.
Definition at line 398 of file kcenterevaluator.h.
|
protected |
Provides a k-center weight result per cluster (may be added, chosen from, ...).
Definition at line 238 of file kcenterevaluator.h.
|
protected |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 269 of file kcenterevaluator.h.
|
private |
Definition at line 131 of file kcenterevaluator.h.