CluE
1.0
|
Abstract base class for algorithms. More...
#include <algorithm.h>
Public Member Functions | |
virtual | ~Algorithm () |
virtual SolutionProvider * | compute ()=0 |
Runs the algorithm and returns the computed solution. More... | |
Abstract base class for algorithms.
Definition at line 17 of file algorithm.h.
|
inlinevirtual |
Definition at line 20 of file algorithm.h.
|
pure virtual |
Runs the algorithm and returns the computed solution.
Implementing classes override this method with the computation of a SolutionProvider instance whose reference is returned. The responibility for destructing the instance lies with the caller.
Implemented in CluE::LloydtypeCF< T >, CluE::FrahlingSohler< VectorType, Hash, size_space >, CluE::Lloydtype< T >, CluE::ProxyBasedAgglo< T >, CluE::FarthestFirstTraversal< T >, CluE::Agglomerative< T >, CluE::KumarSabharwalSen< T >, CluE::AdaptiveSampling< T >, CluE::DasguptaLong< T >, CluE::Gonzales< T >, CluE::BalcanBlumGupta< T >, CluE::UniformSampling< T >, CluE::BruteForceClustering< T >, and CluE::Birch< T >.