CluE  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CluE::Algorithm Class Referenceabstract

Abstract base class for algorithms. More...

#include <algorithm.h>

Inheritance diagram for CluE::Algorithm:
Inheritance graph
Collaboration diagram for CluE::Algorithm:
Collaboration graph

Public Member Functions

virtual ~Algorithm ()
 
virtual SolutionProvidercompute ()=0
 Runs the algorithm and returns the computed solution. More...
 

Detailed Description

Abstract base class for algorithms.

Definition at line 17 of file algorithm.h.

Constructor & Destructor Documentation

virtual CluE::Algorithm::~Algorithm ( )
inlinevirtual

Definition at line 20 of file algorithm.h.

Member Function Documentation

virtual SolutionProvider* CluE::Algorithm::compute ( )
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 >.


The documentation for this class was generated from the following file: