AllPairsShortestPath Function | Teradata Vantage - AllPairsShortestPath (ML Engine) - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

The AllPairsShortestPath function computes the shortest distances between all combinations of the specified source and target vertices. The function works on directed, undirected, weighted, and unweighted graphs.


How Machine Learning Engine function AllPairsShortestPath works

The function is useful in social network analysis. The resulting pairs and distances can be aggregated to determine a closeness metric or the k-degree for each vertex in a graph.