Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
MatchGraph.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
13 
34  {
35 
82  public struct SolveMethod
83  {
84 
95  public const string MARKOV_CHAIN = "markov_chain";
96 
100  public const string MATCH_OD_PAIRS = "match_od_pairs";
101 
107  public const string MATCH_SUPPLY_DEMAND = "match_supply_demand";
108 
112  public const string MATCH_BATCH_SOLVES = "match_batch_solves";
113  } // end struct SolveMethod
114 
115 
333  public struct Options
334  {
335 
340  public const string GPS_NOISE = "gps_noise";
341 
345  public const string NUM_SEGMENTS = "num_segments";
346 
351  public const string SEARCH_RADIUS = "search_radius";
352 
357  public const string CHAIN_WIDTH = "chain_width";
358 
363  public const string SOURCE = "source";
364 
369  public const string DESTINATION = "destination";
370 
391  public const string PARTIAL_LOADING = "partial_loading";
392 
394  public const string TRUE = "true";
395 
398  public const string FALSE = "false";
399 
404  public const string MAX_COMBINATIONS = "max_combinations";
405 
412  public const string LEFT_TURN_PENALTY = "left_turn_penalty";
413 
420  public const string RIGHT_TURN_PENALTY = "right_turn_penalty";
421 
428  public const string INTERSECTION_PENALTY = "intersection_penalty";
429 
436  public const string SHARP_TURN_PENALTY = "sharp_turn_penalty";
437 
446  public const string AGGREGATED_OUTPUT = "aggregated_output";
447 
454  public const string MAX_TRIP_COST = "max_trip_cost";
455 
477  public const string FILTER_FOLDING_PATHS = "filter_folding_paths";
478 
485  public const string UNIT_UNLOADING_COST = "unit_unloading_cost";
486 
493  public const string MAX_NUM_THREADS = "max_num_threads";
494 
500  public const string TRUCK_SERVICE_LIMIT = "truck_service_limit";
501 
522  public const string ENABLE_TRUCK_REUSE = "enable_truck_reuse";
523  } // end struct Options
524 
525 
529  public string graph_name { get; set; }
530 
545  public IList<string> sample_points { get; set; } = new List<string>();
546 
592  public string solve_method { get; set; } = SolveMethod.MARKOV_CHAIN;
593 
605  public string solution_table { get; set; } = "";
606 
822  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
823 
824 
827  public MatchGraphRequest() { }
828 
1124  IList<string> sample_points,
1125  string solve_method = null,
1126  string solution_table = null,
1127  IDictionary<string, string> options = null)
1128  {
1129  this.graph_name = graph_name ?? "";
1130  this.sample_points = sample_points ?? new List<string>();
1131  this.solve_method = solve_method ?? SolveMethod.MARKOV_CHAIN;
1132  this.solution_table = solution_table ?? "";
1133  this.options = options ?? new Dictionary<string, string>();
1134  } // end constructor
1135 
1136  } // end class MatchGraphRequest
1137 
1138 
1139 
1144  {
1145 
1147  public bool result { get; set; }
1148 
1151  public float match_score { get; set; }
1152 
1154  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
1155 
1156  } // end class MatchGraphResponse
1157 
1158 
1159 
1160 
1161 } // end namespace kinetica
Additional parameters GPS_NOISE: GPS noise value (in meters) to remove redundant sample points...
Definition: MatchGraph.cs:333
const string SOURCE
Optional WKT starting point from sample_points for the solver.
Definition: MatchGraph.cs:363
const string TRUCK_SERVICE_LIMIT
For the match_supply_demand solver only.
Definition: MatchGraph.cs:500
const string AGGREGATED_OUTPUT
For the match_supply_demand solver only.
Definition: MatchGraph.cs:446
const string SEARCH_RADIUS
Maximum search radius used when snapping sample points onto potentially matching surrounding segments...
Definition: MatchGraph.cs:351
const string PARTIAL_LOADING
For the match_supply_demand solver only.
Definition: MatchGraph.cs:391
string solution_table
The name of the table used to store the results; this table contains a track of geospatial points for...
Definition: MatchGraph.cs:605
const string SHARP_TURN_PENALTY
This will add an additonal weight over the edges labelled as &#39;sharp turn&#39; or &#39;u-turn&#39; if the &#39;add_tur...
Definition: MatchGraph.cs:436
const string NUM_SEGMENTS
Maximum number of potentially matching road segments for each sample point.
Definition: MatchGraph.cs:345
const string INTERSECTION_PENALTY
This will add an additonal weight over the edges labelled as &#39;intersection&#39; if the &#39;add_turn&#39; option ...
Definition: MatchGraph.cs:428
const string CHAIN_WIDTH
For the markov_chain solver only.
Definition: MatchGraph.cs:357
const string MARKOV_CHAIN
Matches sample_points to the graph using the Hidden Markov Model (HMM)-based method, which conducts a range-tree closest-edge search to find the best combinations of possible road segments (num_segments) for each sample point to create the best route.
Definition: MatchGraph.cs:95
const string TRUE
Allows reusing trucks for scheduling again.
Definition: MatchGraph.cs:394
const string RIGHT_TURN_PENALTY
This will add an additonal weight over the edges labelled as&#39; right turn&#39; if the &#39;add_turn&#39; option pa...
Definition: MatchGraph.cs:420
const string MATCH_OD_PAIRS
Matches sample_points to find the most probable path between origin and destination pairs with cost c...
Definition: MatchGraph.cs:100
IDictionary< string, string > info
Additional information.
Definition: MatchGraph.cs:1154
IDictionary< string, string > options
Additional parameters GPS_NOISE: GPS noise value (in meters) to remove redundant sample points...
Definition: MatchGraph.cs:822
A set of results returned by Kinetica.matchGraph(string,IList{string},string,string,IDictionary{string, string}).
Definition: MatchGraph.cs:1143
const string MAX_NUM_THREADS
For the markov_chain solver only.
Definition: MatchGraph.cs:493
const string MAX_COMBINATIONS
For the match_supply_demand solver only.
Definition: MatchGraph.cs:404
const string ENABLE_TRUCK_REUSE
For the match_supply_demand solver only.
Definition: MatchGraph.cs:522
float match_score
The mean square error calculation representing the map matching score.
Definition: MatchGraph.cs:1151
const string FILTER_FOLDING_PATHS
For the markov_chain solver only.
Definition: MatchGraph.cs:477
const string MATCH_BATCH_SOLVES
Matches sample_points source and destination pairs for the shortest path solves in batch mode...
Definition: MatchGraph.cs:112
The type of solver to use for graph matching.
Definition: MatchGraph.cs:82
const string UNIT_UNLOADING_COST
For the match_supply_demand solver only.
Definition: MatchGraph.cs:485
bool result
Indicates a successful solution.
Definition: MatchGraph.cs:1147
const string MATCH_SUPPLY_DEMAND
Matches sample_points to optimize scheduling multiple supplies (trucks) with varying sizes to varying...
Definition: MatchGraph.cs:107
string solve_method
The type of solver to use for graph matching.
Definition: MatchGraph.cs:592
const string FALSE
Trucks are scheduled only once from their depots.
Definition: MatchGraph.cs:398
const string MAX_TRIP_COST
For the match_supply_demand solver only.
Definition: MatchGraph.cs:454
A set of parameters for Kinetica.matchGraph(string,IList{string},string,string,IDictionary{string, string}).
Definition: MatchGraph.cs:33
const string DESTINATION
Optional WKT ending point from sample_points for the solver.
Definition: MatchGraph.cs:369
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string LEFT_TURN_PENALTY
This will add an additonal weight over the edges labelled as &#39;left turn&#39; if the &#39;add_turn&#39; option par...
Definition: MatchGraph.cs:412
const string GPS_NOISE
GPS noise value (in meters) to remove redundant sample points.
Definition: MatchGraph.cs:340
string graph_name
Name of the underlying geospatial graph resource to match to using .
Definition: MatchGraph.cs:529
IList< string > sample_points
Sample points used to match to an underlying geospatial graph.
Definition: MatchGraph.cs:545
MatchGraphRequest()
Constructs a MatchGraphRequest object with default parameters.
Definition: MatchGraph.cs:827
MatchGraphRequest(string graph_name, IList< string > sample_points, string solve_method=null, string solution_table=null, IDictionary< string, string > options=null)
Constructs a MatchGraphRequest object with the specified parameters.
Definition: MatchGraph.cs:1123