nxpp
Header-only graph utilities on top of Boost Graph Library
Loading...
Searching...
No Matches
centrality.hpp File Reference

Centrality algorithms and compatibility aliases for the graph wrapper. More...

#include "graph.hpp"
Include dependency graph for centrality.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename GraphWrapper >
auto nxpp::pagerank (const GraphWrapper &G)
 Deprecated free-function alias for G.pagerank().
 
template<typename GraphWrapper >
auto nxpp::degree_centrality (const GraphWrapper &G)
 Deprecated free-function alias for G.degree_centrality().
 
template<typename GraphWrapper >
auto nxpp::betweenness_centrality (const GraphWrapper &G)
 Deprecated free-function alias for G.betweenness_centrality().
 

Detailed Description

Centrality algorithms and compatibility aliases for the graph wrapper.

Function Documentation

◆ betweenness_centrality()

template<typename GraphWrapper >
auto nxpp::betweenness_centrality ( const GraphWrapper &  G)

Deprecated free-function alias for G.betweenness_centrality().

Parameters
GGraph wrapper on which to compute normalized betweenness centrality.
Returns
The same indexed_lookup_map<NodeID, double> result returned by G.betweenness_centrality().

References nxpp::betweenness_centrality().

Referenced by nxpp::betweenness_centrality().

◆ degree_centrality()

template<typename GraphWrapper >
auto nxpp::degree_centrality ( const GraphWrapper &  G)

Deprecated free-function alias for G.degree_centrality().

Parameters
GGraph wrapper on which to compute normalized degree centrality.
Returns
The same indexed_lookup_map<NodeID, double> result returned by G.degree_centrality().

References nxpp::degree_centrality().

Referenced by nxpp::degree_centrality().

◆ pagerank()

template<typename GraphWrapper >
auto nxpp::pagerank ( const GraphWrapper &  G)

Deprecated free-function alias for G.pagerank().

Parameters
GGraph wrapper on which to compute PageRank.
Returns
The same indexed_lookup_map<NodeID, double> result returned by G.pagerank().

References nxpp::pagerank().

Referenced by nxpp::pagerank().