|
IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
compute the number of triangles at the vertex level More...
#include <plugin_triangle_count.h>
Inherits analytic_engine_base, and query_base.
Public Member Functions | |
| REGISTER_QUERY_TYPE (analytic_engine_triangle_count) | |
| int | run (struct query_param_type) |
| void | options (command_options &opts) |
Private Member Functions | |
| void | compute (struct query_param_type param, string vertex_label, vertex_id_type vertex_id, bool compute_for_all) |
compute the number of triangles at the vertex level
| int analytic_engine_triangle_count::run | ( | struct query_param_type | ) |
| –vertex | (optional) vertex ID |
| –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) |
1.8.6