BICO  1.1
 All Classes Namespaces Files Functions Variables Typedefs Pages
algorithm.h
Go to the documentation of this file.
1 #ifndef CLUEALGORITHM_H
2 #define CLUEALGORITHM_H
3 
4 #include "../base/solutionprovider.h"
5 
9 namespace CluE
10 {
11 
17 class Algorithm
18 {
19 public:
20  virtual ~Algorithm()
21  {
22  }
23 
31  virtual SolutionProvider* compute() = 0;
32 };
33 
34 }
35 
36 #endif
virtual ~Algorithm()
Definition: algorithm.h:20
virtual SolutionProvider * compute()=0
Runs the algorithm and returns the computed solution.
Abstract base class for algorithms.
Definition: algorithm.h:17
Abstract base class for algorithm solutions.