7 using System.Collections.Generic;
202 public const string TRUE =
"true";
206 public const string FALSE =
"false";
296 public const string ASTAR =
"astar";
299 public const string NONE =
"none";
429 public string solver_type {
get;
set; } = SolverType.SHORTEST_PATH;
702 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
1091 IDictionary<string, string>
options =
null)
1119 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string RIGHT_TURN_PENALTY
This will add an additional weight over the edges labeled as' right turn' if the 'add_turn' option pa...
const string MAX_ITERATIONS
For PAGE_RANK solvers only; Maximum number of page rank iterations for satisfying convergence.
IList< string > destination_nodes
It can be one of the nodal identifiers - e.g: 'NODE_WKTPOINT' for destination (target) nodes.
IList< string > restrictions
Additional restrictions to apply to the nodes/edges of an existing graph.
const string SHARP_TURN_PENALTY
This will add an additional weight over the edges labeled as 'sharp turn' or 'u-turn' if the 'add_tur...
IList< float > result_per_destination_node
Cost or page rank (based on solver type) for each destination node requested.
const string SERVER_ID
Indicates which graph server(s) to send the request to.
SolveGraphRequest(string graph_name, IList< string > weights_on_edges=null, IList< string > restrictions=null, string solver_type=null, IList< string > source_nodes=null, IList< string > destination_nodes=null, string solution_table=null, IDictionary< string, string > options=null)
Constructs a SolveGraphRequest object with the specified parameters.
const string MAX_RUNS
For all CENTRALITY solvers only; Sets the maximum number of shortest path runs; maximum possible valu...
const string OUTPUT_CLUSTERS
For STATS_ALL solvers only; the cluster index for each node will be inserted as an additional column ...
const string STATS_ALL
Solves for graph statistics such as graph diameter, longest pairs, vertex valences,...
const string OUTPUT_EDGE_PATH
If true then concatenated edge IDs will be added as the EDGE path column of the solution table for ea...
KineticaData - class to help with Avro Encoding for Kinetica
const string ASTAR_RADIUS
For path solvers only when 'solve_heuristic' option is 'astar'.
const string PROBABILITY_RANK
Solves for the transitional probability (Hidden Markov) for each node based on the weights (probabili...
const string FALSE
No extra cluster info per node will be available in the output.
string solution_table
Name of the table to store the solution, in [schema_name.
A set of results returned by Kinetica.solveGraph.
const string MAX_SOLUTION_RADIUS
For ALLPATHS, SHORTEST_PATH and INVERSE_SHORTEST_PATH solvers only.
const string INVERSE_SHORTEST_PATH
Solves for finding the optimal path cost for each destination node to route to the source node.
IDictionary< string, string > info
Additional information.
string solver_type
The type of solver to use for the graph.
const string NUM_BEST_PATHS
For MULTIPLE_ROUTING solvers only; sets the number of shortest paths computed from each node.
IList< string > weights_on_edges
Additional weights to apply to the edges of an existing graph.
const string NONE
No heuristics are applied.
const string SOLVE_HEURISTIC
Specify heuristic search criterion only for the geo graphs and shortest path solves towards a single ...
const string MULTIPLE_ROUTING
Solves for finding the minimum cost cumulative path for a round-trip starting from the given source a...
const string ALLPATHS
Solves for paths that would give costs between max and min solution radia - Make sure to limit by the...
const string TRUE
An additional column 'CLUSTER' will be added for each node.
const string BACKHAUL_ROUTING
Solves for optimal routes that connect remote asset nodes to the fixed (backbone) asset nodes.
A set of string constants for the parameter solver_type.
const string SHORTEST_PATH
Solves for the optimal (shortest) path based on weights and restrictions from one source to destinati...
const string LEFT_TURN_PENALTY
This will add an additional weight over the edges labeled as 'left turn' if the 'add_turn' option par...
const string MAX_SOLUTION_TARGETS
For ALLPATHS, SHORTEST_PATH and INVERSE_SHORTEST_PATH solvers only.
const string CENTRALITY
Solves for the degree of a node to depict how many pairs of individuals that would have to go through...
const string MIN_SOLUTION_RADIUS
For ALLPATHS, SHORTEST_PATH and INVERSE_SHORTEST_PATH solvers only.
const string INTERSECTION_PENALTY
This will add an additional weight over the edges labeled as 'intersection' if the 'add_turn' option ...
A set of parameters for Kinetica.solveGraph.
A set of string constants for the parameter options.
const string UNIFORM_WEIGHTS
When specified, assigns the given value to all the edges in the graph.
const string MAX_NUM_COMBINATIONS
For MULTIPLE_ROUTING solvers only; sets the cap on the combinatorial sequences generated.
const string CONVERGENCE_LIMIT
For PAGE_RANK solvers only; Maximum percent relative threshold on the page rank scores of each node b...
SolveGraphRequest()
Constructs a SolveGraphRequest object with default parameters.
bool result
Indicates a successful solution on all servers.
string graph_name
Name of the graph resource to solve.
IList< string > source_nodes
It can be one of the nodal identifiers - e.g: 'NODE_WKTPOINT' for source nodes.
const string OUTPUT_WKT_PATH
If true then concatenated wkt line segments will be added as the Wktroute column of the solution tabl...
IDictionary< string, string > options
Additional parameters.
const string ASTAR
Employs A-STAR heuristics to speed up the shortest path traversal.
const string CLOSENESS
Solves for the centrality closeness score per node as the sum of the inverse shortest path costs to a...
const string PAGE_RANK
Solves for the probability of each destination node being visited based on the links of the graph top...