1 #ifndef PROXYPROVIDER_H
2 #define PROXYPROVIDER_H
5 #include "../base/solutionprovider.h"
42 virtual T
proxy(
unsigned int solutionIndex,
unsigned int proxyIndex)
const = 0;
49 virtual std::vector<T>
proxies(
unsigned int solutionIndex)
const = 0;
Abstract base class to access results of proxy / center based clustering algorithms.
virtual unsigned int size_of_solution(unsigned int index) const =0
returns the size of a particular solution
virtual T proxy(unsigned int solutionIndex, unsigned int proxyIndex) const =0
returns the proxy for the specified clustering and cluster
static ProxyProvider< T > * toProxyProvider(SolutionProvider *s)
does a dynamic cast of the given SolutionProvider to a ProxyProvider
virtual unsigned int number_of_solutions() const =0
returns the number of available solutions
virtual std::vector< T > proxies(unsigned int solutionIndex) const =0
returns the proxies for the specified clustering
Abstract base class for algorithm solutions.