BICO
1.1
|
Abstract base class to access results of proxy / center based clustering algorithms. More...
#include <proxyprovider.h>
Public Member Functions | |
virtual | ~ProxyProvider () |
virtual unsigned int | number_of_solutions () const =0 |
returns the number of available solutions More... | |
virtual unsigned int | size_of_solution (unsigned int index) const =0 |
returns the size of a particular solution More... | |
virtual T | proxy (unsigned int solutionIndex, unsigned int proxyIndex) const =0 |
returns the proxy for the specified clustering and cluster More... | |
virtual std::vector< T > | proxies (unsigned int solutionIndex) const =0 |
returns the proxies for the specified clustering More... | |
Static Public Member Functions | |
static ProxyProvider< T > * | toProxyProvider (SolutionProvider *s) |
does a dynamic cast of the given SolutionProvider to a ProxyProvider More... | |
Abstract base class to access results of proxy / center based clustering algorithms.
Definition at line 14 of file proxyprovider.h.
|
inlinevirtual |
Definition at line 17 of file proxyprovider.h.
|
pure virtual |
returns the number of available solutions
The algorthm may compute more than one solution of possibly different size, where size means number of computed clusters, proxies (e.g. cluster centers) or the size of a coreset. The sizes can be retrieved by a call to size_of_solution().
Implemented in CluE::ProxySolution< T >.
|
pure virtual |
returns the size of a particular solution
index | number between 0 and number_of_solutions()-1 |
Implemented in CluE::ProxySolution< T >.
|
pure virtual |
returns the proxy for the specified clustering and cluster
Returns the computed proxy for cluster number proxyIndex in clustering number solutionIndex.
Implemented in CluE::ProxySolution< T >.
|
pure virtual |
returns the proxies for the specified clustering
Returns the computed proxies for clustering number solutionIndex.
Implemented in CluE::ProxySolution< T >.
|
inlinestatic |
does a dynamic cast of the given SolutionProvider to a ProxyProvider
Definition at line 55 of file proxyprovider.h.