Package com.gpudb.protocol
Class SolveGraphRequest.Options
java.lang.Object
com.gpudb.protocol.SolveGraphRequest.Options
Enclosing class:
A set of string constants for the
SolveGraphRequest parameter options.
Additional parameters.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEmploys A-STAR heuristics to speed up the shortest path traversal.static final StringFor path solvers only when ‘solve_heuristic’ option is ‘astar’.static final StringForPAGE_RANKsolvers only; Maximum percent relative threshold on the page rank scores of each node between consecutive iterations to satisfy convergence.static final StringNo extra cluster info per node will be available in the output.static final StringThis will add an additional weight over the edges labeled as ‘intersection’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation.static final StringThis will add an additional weight over the edges labeled as ‘left turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation.static final StringForPAGE_RANKsolvers only; Maximum number of page rank iterations for satisfying convergence.static final StringForMULTIPLE_ROUTINGsolvers only; sets the cap on the combinatorial sequences generated.static final StringFor allCENTRALITYsolvers only; Sets the maximum number of shortest path runs; maximum possible value is the number of nodes in the graph.static final Stringstatic final Stringstatic final Stringstatic final StringNo heuristics are applied.static final StringForMULTIPLE_ROUTINGsolvers only; sets the number of shortest paths computed from each node.static final StringForSTATS_ALLsolvers only; the cluster index for each node will be inserted as an additional column in the output.static final StringIf true then concatenated edge IDs will be added as the EDGE path column of the solution table for each source and target pair in shortest path solves.static final StringIf true then concatenated wkt line segments will be added as the Wktroute column of the solution table for each source and target pair in shortest path solves.static final StringThis will add an additional weight over the edges labeled as’ right turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation.static final StringIndicates which graph server(s) to send the request to.static final StringThis will add an additional weight over the edges labeled as ‘sharp turn’ or ‘u-turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation.static final StringSpecify heuristic search criterion only for the geo graphs and shortest path solves towards a single target.static final StringAn additional column ‘CLUSTER’ will be added for each node.static final StringWhen specified, assigns the given value to all the edges in the graph.
Field Details
MAX_SOLUTION_RADIUS
ForALLPATHS,SHORTEST_PATHandINVERSE_SHORTEST_PATHsolvers only. Sets the maximum solution cost radius, which ignores thedestinationNodeslist and instead outputs the nodes within the radius sorted by ascending cost. If set to ‘0.0’, the setting is ignored. The default value is ‘0.0’.See Also:MIN_SOLUTION_RADIUS
ForALLPATHS,SHORTEST_PATHandINVERSE_SHORTEST_PATHsolvers only. Applicable only whenMAX_SOLUTION_RADIUSis set. Sets the minimum solution cost radius, which ignores thedestinationNodeslist and instead outputs the nodes within the radius sorted by ascending cost. If set to ‘0.0’, the setting is ignored. The default value is ‘0.0’.See Also:MAX_SOLUTION_TARGETS
ForALLPATHS,SHORTEST_PATHandINVERSE_SHORTEST_PATHsolvers only. Sets the maximum number of solution targets, which ignores thedestinationNodeslist and instead outputs no more than n number of nodes sorted by ascending cost where n is equal to the setting value. If set to 0, the setting is ignored. The default value is ‘1000’.See Also:UNIFORM_WEIGHTS
When specified, assigns the given value to all the edges in the graph. Note that weights provided inweightsOnEdgeswill override this value.See Also:LEFT_TURN_PENALTY
This will add an additional weight over the edges labeled as ‘left turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation. The default value is ‘0.0’.See Also:RIGHT_TURN_PENALTY
This will add an additional weight over the edges labeled as’ right turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation. The default value is ‘0.0’.See Also:INTERSECTION_PENALTY
This will add an additional weight over the edges labeled as ‘intersection’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation. The default value is ‘0.0’.See Also:SHARP_TURN_PENALTY
This will add an additional weight over the edges labeled as ‘sharp turn’ or ‘u-turn’ if the ‘add_turn’ option parameter of theGPUdb.createGraphwas invoked at graph creation. The default value is ‘0.0’.See Also:NUM_BEST_PATHS
ForMULTIPLE_ROUTINGsolvers only; sets the number of shortest paths computed from each node. This is the heuristic criterion. Default value of zero allows the number to be computed automatically by the solver. The user may want to override this parameter to speed-up the solver. The default value is ‘0’.See Also:MAX_NUM_COMBINATIONS
ForMULTIPLE_ROUTINGsolvers only; sets the cap on the combinatorial sequences generated. If the default value of two millions is overridden to a lesser value, it can potentially speed up the solver. The default value is ‘2000000’.See Also:SERVER_ID
Indicates which graph server(s) to send the request to. Default is to send to the server, amongst those containing the corresponding graph, that has the most computational bandwidth. For SHORTEST_PATH solver type, the input is split amongst the server containing the corresponding graph.See Also:MAX_RUNS
For allCENTRALITYsolvers only; Sets the maximum number of shortest path runs; maximum possible value is the number of nodes in the graph. Default value of 0 enables this value to be auto computed by the solver. The default value is ‘0’.See Also:OUTPUT_CLUSTERS
ForSTATS_ALLsolvers only; the cluster index for each node will be inserted as an additional column in the output. Supported values:TRUE: An additional column ‘CLUSTER’ will be added for each node.FALSE: No extra cluster info per node will be available in the output.
FALSE.See Also: