Program Listing for File EigenvectorCentrality.hpp

Return to documentation for file (include/networkit/centrality/EigenvectorCentrality.hpp)

/*
 * EigenvectorCentrality.hpp
 *
 *  Created on: 19.03.2014
 *      Author: Henning
 */

#ifndef NETWORKIT_CENTRALITY_EIGENVECTOR_CENTRALITY_HPP_
#define NETWORKIT_CENTRALITY_EIGENVECTOR_CENTRALITY_HPP_

#include <networkit/centrality/Centrality.hpp>

namespace NetworKit {

class EigenvectorCentrality final : public Centrality {
    const double tol; // error tolerance

public:
    EigenvectorCentrality(const Graph &G, double tol = 1e-8);

    void run() override;
};

} /* namespace NetworKit */
#endif // NETWORKIT_CENTRALITY_EIGENVECTOR_CENTRALITY_HPP_