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

compute the top k shortest paths between a source vertex and a sink vertex More...

#include <plugin_k_shortest_paths.h>

Inherits analytic_engine_base, and query_base.

Public Member Functions

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

Private Member Functions

void compute (struct query_param_type param, size_t k, string source_vertex_key, vertex_id_type source_vertex_id, string sink_vertex_key, vertex_id_type sink_vertex_id)
 

Detailed Description

compute the top k shortest paths between a source vertex and a sink vertex

Member Function Documentation

int analytic_engine_k_shortest_paths::run ( struct query_param_type  )
Parameters
&ndash;srcsource (start) vertex ID
&ndash;sinksink (end) vertex ID
&ndash;kk for k shortest paths
&ndash;in(optional) use the cached result of a previous query as input (the computation will be restricted to the induced sub-graph)
&ndash;ignoreedgeweight(optional) ignore edge weight when computing shortest paths
&ndash;hidepath(optional flag) do not output detailed paths

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