Kinetica   C#   API  Version 7.2.3.1
VisualizeIsochrone.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 namespace kinetica;
10 
21 {
27  public struct GenerateImage
28  {
29  public const string TRUE = "true";
30  public const string FALSE = "false";
31  } // end struct GenerateImage
32 
37  public struct StyleOptions
38  {
42  public const string LINE_SIZE = "line_size";
43 
50  public const string COLOR = "color";
51 
58  public const string BG_COLOR = "bg_color";
59 
67  public const string TEXT_COLOR = "text_color";
68 
314  public const string COLORMAP = "colormap";
315 
316  public const string JET = "jet";
317  public const string ACCENT = "accent";
318  public const string AFMHOT = "afmhot";
319  public const string AUTUMN = "autumn";
320  public const string BINARY = "binary";
321  public const string BLUES = "blues";
322  public const string BONE = "bone";
323  public const string BRBG = "brbg";
324  public const string BRG = "brg";
325  public const string BUGN = "bugn";
326  public const string BUPU = "bupu";
327  public const string BWR = "bwr";
328  public const string CMRMAP = "cmrmap";
329  public const string COOL = "cool";
330  public const string COOLWARM = "coolwarm";
331  public const string COPPER = "copper";
332  public const string CUBEHELIX = "cubehelix";
333  public const string DARK2 = "dark2";
334  public const string FLAG = "flag";
335  public const string GIST_EARTH = "gist_earth";
336  public const string GIST_GRAY = "gist_gray";
337  public const string GIST_HEAT = "gist_heat";
338  public const string GIST_NCAR = "gist_ncar";
339  public const string GIST_RAINBOW = "gist_rainbow";
340  public const string GIST_STERN = "gist_stern";
341  public const string GIST_YARG = "gist_yarg";
342  public const string GNBU = "gnbu";
343  public const string GNUPLOT2 = "gnuplot2";
344  public const string GNUPLOT = "gnuplot";
345  public const string GRAY = "gray";
346  public const string GREENS = "greens";
347  public const string GREYS = "greys";
348  public const string HOT = "hot";
349  public const string HSV = "hsv";
350  public const string INFERNO = "inferno";
351  public const string MAGMA = "magma";
352  public const string NIPY_SPECTRAL = "nipy_spectral";
353  public const string OCEAN = "ocean";
354  public const string ORANGES = "oranges";
355  public const string ORRD = "orrd";
356  public const string PAIRED = "paired";
357  public const string PASTEL1 = "pastel1";
358  public const string PASTEL2 = "pastel2";
359  public const string PINK = "pink";
360  public const string PIYG = "piyg";
361  public const string PLASMA = "plasma";
362  public const string PRGN = "prgn";
363  public const string PRISM = "prism";
364  public const string PUBU = "pubu";
365  public const string PUBUGN = "pubugn";
366  public const string PUOR = "puor";
367  public const string PURD = "purd";
368  public const string PURPLES = "purples";
369  public const string RAINBOW = "rainbow";
370  public const string RDBU = "rdbu";
371  public const string RDGY = "rdgy";
372  public const string RDPU = "rdpu";
373  public const string RDYLBU = "rdylbu";
374  public const string RDYLGN = "rdylgn";
375  public const string REDS = "reds";
376  public const string SEISMIC = "seismic";
377  public const string SET1 = "set1";
378  public const string SET2 = "set2";
379  public const string SET3 = "set3";
380  public const string SPECTRAL = "spectral";
381  public const string SPRING = "spring";
382  public const string SUMMER = "summer";
383  public const string TERRAIN = "terrain";
384  public const string VIRIDIS = "viridis";
385  public const string WINTER = "winter";
386  public const string WISTIA = "wistia";
387  public const string YLGN = "ylgn";
388  public const string YLGNBU = "ylgnbu";
389  public const string YLORBR = "ylorbr";
390  public const string YLORRD = "ylorrd";
391  } // end struct StyleOptions
392 
396  public struct SolveOptions
397  {
413  public const string REMOVE_PREVIOUS_RESTRICTIONS = "remove_previous_restrictions";
414 
415  public const string TRUE = "true";
416  public const string FALSE = "false";
417 
423  public const string RESTRICTION_THRESHOLD_VALUE = "restriction_threshold_value";
424 
430  public const string UNIFORM_WEIGHTS = "uniform_weights";
431  } // end struct SolveOptions
432 
436  public struct ContourOptions
437  {
482  public const string PROJECTION = "projection";
483 
484  public const string _3857 = "3857";
485  public const string _102100 = "102100";
486  public const string _900913 = "900913";
487  public const string EPSG_4326 = "EPSG:4326";
488  public const string PLATE_CARREE = "PLATE_CARREE";
489  public const string EPSG_900913 = "EPSG:900913";
490  public const string EPSG_102100 = "EPSG:102100";
491  public const string EPSG_3857 = "EPSG:3857";
492  public const string WEB_MERCATOR = "WEB_MERCATOR";
493 
498  public const string WIDTH = "width";
499 
508  public const string HEIGHT = "height";
509 
514  public const string SEARCH_RADIUS = "search_radius";
515 
521  public const string GRID_SIZE = "grid_size";
522 
536  public const string COLOR_ISOLINES = "color_isolines";
537 
538  public const string TRUE = "true";
539  public const string FALSE = "false";
540 
554  public const string ADD_LABELS = "add_labels";
555 
561  public const string LABELS_FONT_SIZE = "labels_font_size";
562 
568  public const string LABELS_FONT_FAMILY = "labels_font_family";
569 
579  public const string LABELS_SEARCH_WINDOW = "labels_search_window";
580 
588  public const string LABELS_INTRALEVEL_SEPARATION = "labels_intralevel_separation";
589 
596  public const string LABELS_INTERLEVEL_SEPARATION = "labels_interlevel_separation";
597 
603  public const string LABELS_MAX_ANGLE = "labels_max_angle";
604  } // end struct ContourOptions
605 
609  public struct Options
610  {
621  public const string SOLVE_TABLE = "solve_table";
622 
636  public const string IS_REPLICATED = "is_replicated";
637 
641  public const string TRUE = "true";
642 
646  public const string FALSE = "false";
647 
651  public const string DATA_MIN_X = "data_min_x";
652 
656  public const string DATA_MAX_X = "data_max_x";
657 
661  public const string DATA_MIN_Y = "data_min_y";
662 
666  public const string DATA_MAX_Y = "data_max_y";
667 
674  public const string CONCAVITY_LEVEL = "concavity_level";
675 
696  public const string USE_PRIORITY_QUEUE_SOLVERS = "use_priority_queue_solvers";
697 
716  public const string SOLVE_DIRECTION = "solve_direction";
717 
720  public const string FROM_SOURCE = "from_source";
721 
723  public const string TO_SOURCE = "to_source";
724  } // end struct Options
725 
728  public string graph_name { get; set; }
729 
732  public string source_node { get; set; }
733 
738  public double max_solution_radius { get; set; } = -1.0;
739 
752  public IList<string> weights_on_edges { get; set; } = new List<string>();
753 
772  public IList<string> restrictions { get; set; } = new List<string>();
773 
776  public int num_levels { get; set; } = 1;
777 
790  public bool generate_image { get; set; } = true;
791 
801  public string levels_table { get; set; } = "";
802 
1119  public IDictionary<string, string> style_options { get; set; } = new Dictionary<string, string>();
1120 
1164  public IDictionary<string, string> solve_options { get; set; } = new Dictionary<string, string>();
1165 
1358  public IDictionary<string, string> contour_options { get; set; } = new Dictionary<string, string>();
1359 
1477  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
1478 
1482 
2213  string source_node,
2214  double? max_solution_radius,
2215  IList<string> weights_on_edges,
2216  IList<string> restrictions,
2217  int? num_levels,
2218  bool? generate_image,
2219  string levels_table,
2220  IDictionary<string, string> style_options,
2221  IDictionary<string, string> solve_options = null,
2222  IDictionary<string, string> contour_options = null,
2223  IDictionary<string, string> options = null)
2224  {
2225  this.graph_name = graph_name ?? "";
2226  this.source_node = source_node ?? "";
2227  this.max_solution_radius = max_solution_radius ?? -1.0;
2228  this.weights_on_edges = weights_on_edges ?? new List<string>();
2229  this.restrictions = restrictions ?? new List<string>();
2230  this.num_levels = num_levels ?? 1;
2231  this.generate_image = generate_image ?? true;
2232  this.levels_table = levels_table ?? "";
2233  this.style_options = style_options ?? new Dictionary<string, string>();
2234  this.solve_options = solve_options ?? new Dictionary<string, string>();
2235  this.contour_options = contour_options ?? new Dictionary<string, string>();
2236  this.options = options ?? new Dictionary<string, string>();
2237  } // end constructor
2238 } // end class VisualizeIsochroneRequest
2239 
2244 {
2248  public int width { get; set; }
2249 
2253  public int height { get; set; }
2254 
2258  public long bg_color { get; set; }
2259 
2261  public byte[] image_data { get; set; }
2262 
2264  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
2265 
2267  public IDictionary<string, string> solve_info { get; set; } = new Dictionary<string, string>();
2268 
2270  public IDictionary<string, string> contour_info { get; set; } = new Dictionary<string, string>();
2271 } // end class VisualizeIsochroneResponse
IDictionary< string, string > solve_options
Solver specific parameters.
const string GRID_SIZE
When interpolating the graph solution to generate the isochrone, number of subdivisions along the x a...
const string LABELS_INTRALEVEL_SEPARATION
When ADD_LABELS is set to TRUE, this value determines the distance (in multiples of the LABELS_FONT_S...
bool generate_image
If set to TRUE, generates a PNG image of the isochrones in the response.
int num_levels
Number of equally-separated isochrones to compute.
long bg_color
Background color of the image as provided in BG_COLOR.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
double max_solution_radius
Extent of the search radius around source_node.
const string DATA_MAX_Y
Upper bound for the y values.
const string UNIFORM_WEIGHTS
When specified, assigns the given value to all the edges in the graph.
string source_node
Starting vertex on the underlying graph from/to which the isochrones are created.
int width
Width of the image as provided in WIDTH.
IList< string > restrictions
Additional restrictions to apply to the nodes/edges of an existing graph.
A set of string constants for the parameter generate_image.
const string LABELS_FONT_SIZE
When ADD_LABELS is set to TRUE, size of the font (in pixels) to use for labels.
A set of parameters for Kinetica.visualizeIsochrone.
const string TEXT_COLOR
When ADD_LABELS is set to TRUE, color for the labels.
const string DATA_MAX_X
Upper bound for the x values.
const string RESTRICTION_THRESHOLD_VALUE
Value-based restriction comparison.
A set of string constants for the parameter style_options.
A set of string constants for the parameter options.
IDictionary< string, string > options
Additional parameters.
VisualizeIsochroneRequest(string graph_name, string source_node, double? max_solution_radius, IList< string > weights_on_edges, IList< string > restrictions, int? num_levels, bool? generate_image, string levels_table, IDictionary< string, string > style_options, IDictionary< string, string > solve_options=null, IDictionary< string, string > contour_options=null, IDictionary< string, string > options=null)
Constructs a VisualizeIsochroneRequest object with the specified parameters.
const string COLORMAP
Colormap for contours or fill-in regions when applicable.
const string REMOVE_PREVIOUS_RESTRICTIONS
Ignore the restrictions applied to the graph during the creation stage and only use the restrictions ...
const string TO_SOURCE
Shortest path to source (Dijkstra).
const string FALSE
Uses the solvers 'priority_queue' and 'inverse_priority_queue' based on SOLVE_DIRECTION.
const string BG_COLOR
When generate_image is set to TRUE, background color of the generated image.
const string DATA_MIN_Y
Lower bound for the y values.
const string ADD_LABELS
If set to TRUE, add labels to the isolines.
IDictionary< string, string > solve_info
Additional information.
const string LABELS_MAX_ANGLE
When ADD_LABELS is set to TRUE, maximum angle (in degrees) from the vertical to use when adding label...
const string FROM_SOURCE
Shortest path to get to the source (inverse Dijkstra).
const string PROJECTION
Spatial Reference System (i.e.
int height
Height of the image as provided in HEIGHT.
A set of string constants for the parameter solve_options.
const string DATA_MIN_X
Lower bound for the x values.
IList< string > weights_on_edges
Additional weights to apply to the edges of an existing graph.
const string SEARCH_RADIUS
When interpolating the graph solution to generate the isochrone, neighborhood of influence of sample ...
IDictionary< string, string > contour_options
Contour specific parameters.
IDictionary< string, string > style_options
Various style related options of the isochrone image.
const string TRUE
Uses the solvers scheduled for 'shortest_path' and 'inverse_shortest_path' based on SOLVE_DIRECTION.
string levels_table
Name of the table to output the isochrones to, in [schema_name.
const string LABELS_INTERLEVEL_SEPARATION
When ADD_LABELS is set to TRUE, this value determines the distance (in percent of the total window si...
IDictionary< string, string > info
Additional information.
byte [] image_data
Generated contour image data.
IDictionary< string, string > contour_info
Additional information.
const string CONCAVITY_LEVEL
Factor to qualify the concavity of the isochrone curves.
const string SOLVE_DIRECTION
Specify whether we are going to the source node, or starting from it.
VisualizeIsochroneRequest()
Constructs a VisualizeIsochroneRequest object with default parameters.
const string COLOR
Color of generated isolines.
const string LABELS_FONT_FAMILY
When ADD_LABELS is set to TRUE, font name to be used when adding labels.
A set of string constants for the parameter contour_options.
string graph_name
Name of the graph on which the isochrone is to be computed.
const string SOLVE_TABLE
Name of the table to host intermediate solve results, in [schema_name.
const string LINE_SIZE
The width of the contour lines in pixels.
A set of results returned by Kinetica.visualizeIsochrone.
const string WIDTH
When generate_image is set to TRUE, width of the generated image.
const string COLOR_ISOLINES
Color each isoline according to the colormap; otherwise, use the foreground color.
const string LABELS_SEARCH_WINDOW
When ADD_LABELS is set to TRUE, a search window is used to rate the local quality of each isoline.
const string USE_PRIORITY_QUEUE_SOLVERS
Sets the solver methods explicitly if true.
const string HEIGHT
When generate_image is set to TRUE, height of the generated image.
const string IS_REPLICATED
If set to TRUE, replicate the SOLVE_TABLE.