Program Listing for File Smoother.hpp

Return to documentation for file (include/networkit/numerics/Smoother.hpp)

/*
 * Smoother.hpp
 *
 *  Created on: 31.10.2014
 *      Author: Michael Wegner (michael.wegner@student.kit.edu)
 */

#ifndef NETWORKIT_NUMERICS_SMOOTHER_HPP_
#define NETWORKIT_NUMERICS_SMOOTHER_HPP_

#include <networkit/algebraic/CSRMatrix.hpp>
#include <networkit/algebraic/Vector.hpp>

#include <limits>
#include <networkit/algebraic/DynamicMatrix.hpp>

namespace NetworKit {

template <class Matrix>
class Smoother {
public:
    Smoother() {}
    virtual ~Smoother() {}

    virtual Vector relax(const Matrix &A, const Vector &b, const Vector &initialGuess,
                         count maxIterations = std::numeric_limits<count>::max()) const = 0;
    virtual Vector relax(const Matrix &A, const Vector &b,
                         count maxIterations = std::numeric_limits<count>::max()) const = 0;
};

} /* namespace NetworKit */

#endif // NETWORKIT_NUMERICS_SMOOTHER_HPP_