All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Smoother.h
Go to the documentation of this file.
1 /*
2  * Smoother.h
3  *
4  * Created on: 31.10.2014
5  * Author: Michael Wegner (michael.wegner@student.kit.edu)
6  */
7 
8 #ifndef SMOOTHER_H_
9 #define SMOOTHER_H_
10 
11 #include "../algebraic/CSRMatrix.h"
12 #include "../algebraic/Vector.h"
13 
14 #include <limits>
15 #include "../algebraic/DynamicMatrix.h"
16 
17 namespace NetworKit {
18 
23 template<class Matrix>
24 class Smoother {
25 public:
26  Smoother() {}
27  virtual ~Smoother(){}
28 
29  virtual Vector relax(const Matrix& A, const Vector& b, const Vector& initialGuess, const count maxIterations = std::numeric_limits<count>::max()) const = 0;
30  virtual Vector relax(const Matrix& A, const Vector& b, const count maxIterations = std::numeric_limits<count>::max()) const = 0;
31 };
32 
33 } /* namespace NetworKit */
34 
35 #endif /* SMOOTHER_H_ */
Smoother()
Definition: Smoother.h:26
virtual ~Smoother()
Definition: Smoother.h:27
virtual Vector relax(const Matrix &A, const Vector &b, const Vector &initialGuess, const count maxIterations=std::numeric_limits< count >::max()) const =0
uint64_t count
Definition: Globals.h:21
std::vector< std::vector< count > > Matrix
Definition: DynamicNMIDistance.h:16
The Vector class represents a basic vector with double coefficients.
Definition: Vector.h:25
Abstract base class of a smoother.
Definition: Smoother.h:24