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_triangle_count Class Reference

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)
 

Detailed Description

compute the number of triangles at the vertex level

Member Function Documentation

int analytic_engine_triangle_count::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)

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