IBM SYSTEMG G RUNTIME & NATIVE STORE  0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
 All Classes Functions Variables Typedefs Pages
Public Member Functions | Private Member Functions | List of all members
analytic_engine_closeness_centrality Class Reference

compute the closeness centrality at the vertex level More...

#include <plugin_closeness_centrality.h>

Inherits analytic_engine_base, and query_base.

Public Member Functions

 REGISTER_QUERY_TYPE (analytic_engine_closeness_centrality)
 
int run (struct query_param_type)
 
void options (command_options &opts)
 

Private Member Functions

float compute (struct query_param_type param, string vertex_label, vertex_id_type vertex_id)
 

Detailed Description

compute the closeness centrality at the vertex level

Member Function Documentation

int analytic_engine_closeness_centrality::run ( struct query_param_type  )
Parameters
&ndash;vertex(optional) vertex ID
&ndash;in(optional) use the cached result of a previous query as input (if it contains both vertices and edges, the computation will be restricted to the induced sub-graph; if it contains vertices only, the computation will be restricted to these vertices in the whole graph (unless '–id' is used, in which case the computation is only for the specified vertex)
&ndash;ignoreedgeweight(optional) ignore edge weight when computing shortest paths

The documentation for this class was generated from the following file: