Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.68 KB

pgx_builtin_o12_enumerate_simple_paths.md

File metadata and controls

36 lines (28 loc) · 1.68 KB

Enumerate Simple Paths

Enumerate all simple paths between the source and destination vertex

Signature

Input Argument Type Comment
G graph the graph.
src node the source vertex.
dst node the destination vertex.
k int the dimension of the distances property; i.e. number of high-degree vertices.
verticesOnPath nodeSet the vertices on the path.
edgesOnPath edgeSet the edges on the path.
f_dist map<node, int> map containing the distance from the source vertex for each vertex on a path.
Output Argument Type Comment
pathLengths sequence sequence containing the path lengths.
pathVertices nodeSeq vertex-sequence containing the vertices on the paths.
pathEdges edgeSeq edge-sequence containing the edges on the paths.
Return Value Type Comment
void None

Code

Not available in PGX Algorithm API.