1 #ifndef DISCRETEPROXYPROVIDER_H
2 #define DISCRETEPROXYPROVIDER_H
4 #include "../base/solutionprovider.h"
47 virtual T*
discrete_proxy(
unsigned int solutionIndex,
unsigned int proxyIndex)
const = 0;
55 virtual std::vector<T*>
discrete_proxies(
unsigned int solutionIndex)
const = 0;
static DiscreteProxyProvider< T > * toDiscreteProxyProvider(SolutionProvider *s)
Does a dynamic cast of the given SolutionProvider to a DiscreteProxyProvider.
virtual T * discrete_proxy(unsigned int solutionIndex, unsigned int proxyIndex) const =0
Returns a pointer to the proxy for the specified clustering and cluster.
Abstract base class to access the results of proxy / center based clustering algorithms.
virtual ~DiscreteProxyProvider()
virtual unsigned int size_of_solution(unsigned int index) const =0
returns the size of a particular solution
virtual unsigned int number_of_solutions() const =0
returns the number of available solutions
virtual std::vector< T * > discrete_proxies(unsigned int solutionIndex) const =0
Returns a vector of pointers to the proxies for the specified clustering.
Abstract base class for algorithm solutions.