|
Tulip Plugins
|
#include <Eccentricity.h>
Public Member Functions | |
| EccentricityMetric (const tlp::PropertyContext &) | |
| ~EccentricityMetric () | |
| bool | run () |
| double | compute (tlp::node n) |
| bool | check (std::string &) |
This plugin compute the eccentricity/closeness centrality of each node
Eccentricity is the maximum distance to go from a node to all others. In this version the Eccentricity value can be normalized (1 means that a node is one of the most eccentric in the network, 0 means that a node is on the centers of the network).
More information about the use of eccentricity metric can be found in :
Visone: Analysis and visualization of social networks.
"Book. Graph Drawing Software. (Ed. Michael Junger & Petra Mutzel",
Authors : Ulrik Brandes and Dorothea Wagner.
"2004",
pages 321-340.
Closeness Centrality is the mean of shortest-paths lengths from a node to others. The normalized values are computed using the reciprocal of the sum of these distances (see "http://en.wikipedia.org/wiki/Closeness_(graph_theory)#Closeness_centrality" for more details).
| EccentricityMetric::EccentricityMetric | ( | const tlp::PropertyContext & | context | ) |
| EccentricityMetric::~EccentricityMetric | ( | ) |
| bool EccentricityMetric::check | ( | std::string & | ) |
| double EccentricityMetric::compute | ( | tlp::node | n | ) |
| bool EccentricityMetric::run | ( | ) |
1.7.4