AllPairsShortestPath Syntax Elements - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢
TargetKey
Specify the target key (the names of the Edges table columns that identify the target vertex). If you specify targets_table, the function uses only the vertices in targets_table as targets (which must be a subset of those that this syntax element specifies).
EdgeWeight
[Optional] Specify the name of the Edges table column that contains edge weights. Each edge_weight is a positive value.
Default: Each edge_weight is 1 (that is, the graph is unweighted)
Directed
[Optional] Specify whether the graph is directed.
Default: 'true'
MaxDistance
[Optional] Specify the maximum distance between source and target for which the function outputs the vertices. The max_distance must be an integer. If max_distance is negative, the distance between source and target is unbounded.
Default: 10
GroupSize
[Optional] Specify the number of source vertices that run a single-node shortest path (SNSP) algorithm in parallel. If group_size exceeds the number of source vertices in a partition, the number of source vertices in the partition is the group size.
Default behavior: The function uses cluster and query characteristics to determine the optimal group size.