IBM SYSTEMG G RUNTIME & NATIVE STORE
0.5
IBM Native Graph Computing and Storage System based on IBM Parallel Programming Library
|
find a shortest path (edge weight ignored) between vertices More...
#include <plugin_find_path.h>
Inherits analytic_engine_base, and query_base.
Public Member Functions | |
REGISTER_QUERY_TYPE (analytic_engine_find_path) | |
int | run (struct query_param_type) |
void | options (command_options &opts) |
find a shortest path (edge weight ignored) between vertices
int analytic_engine_find_path::run | ( | struct query_param_type | ) |
–src | source (start) vertex ID |
–sink | (optional) sink (end) vertex ID |
–in | (optional) use the cached result of a previous query as input (the computation will be restricted to the induced sub-graph) |
–label | (optional) the label that all edges on the path must have |
–maxnumhops | (optional) the maximum number of hops on the path; if all paths between the source vertex and the sink vertex have lengths greater than this value, no path is returned |