BICO  1.0
 All Classes Namespaces Files Functions Variables Typedefs 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::Bico< T >.


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