ml.sparkling.graph.operators.algorithms.shortestpaths
Path computing main method, should be used for further development and extension, object contains methods for main computations please use them instead of configuring this one
Path computing main method, should be used for further development and extension, object contains methods for main computations please use them instead of configuring this one
- vertex type
- edge type
- path type
- graph for computation
- treat graph as undirected (each path will be bidirectional)
- path processor that will handle path type dependent operations (processor for double, set etc.)
- numeric to operate on edge lengths
- Graph where each vertex contains all its shortest paths, type depends on path processor (double, list etc.)
Computes shoretest all pair shortest paths with paths (each vertex will has map of its paths to orher vertiecs, map values are sets of paths (lists) where first element(0) is path length)
Computes shoretest all pair shortest paths with paths (each vertex will has map of its paths to orher vertiecs, map values are sets of paths (lists) where first element(0) is path length)
- vertex data type
- edge data type (must be numeric)
- if true for vertexId, then distance to vertex is computed ,by default distances to all vertices are computed
- by default false, if true each edge is treated as bidirectional
- numeric parameter for ED
graph where each vertex has map of its shortest paths
Compute all pair shortest paths lengths (each vertex will contains map of shortest paths to other vertices)
Compute all pair shortest paths lengths (each vertex will contains map of shortest paths to other vertices)
- vertex data type
- edge data type (must be numeric)
- if true for vertexId, then distance to vertex is computed ,by default distances to all vertices are computed
- by default false, if true each edge is treated as bidirectional
- numeric parameter for ED
graph where each vertex has map of its shortest paths lengths
Compute all pair shortest paths lengths (each vertex will contains map of shortest paths to other vertices) in multiple super-steps of size provided by @bucketSizeProvider
Compute all pair shortest paths lengths (each vertex will contains map of shortest paths to other vertices) in multiple super-steps of size provided by @bucketSizeProvider
- vertex data type
- edge data type (must be numeric)
- method that provides single super-step size
- by default false, if true each edge is treated as bidirectional
- numeric parameter for ED
graph where each vertex has map of its shortest paths
Compute shortest paths lengths from all vertices to single one (each vertex will contain distance to given vertex)
Compute shortest paths lengths from all vertices to single one (each vertex will contain distance to given vertex)
- vertex data type
- edge data type (must be numeric)
- vertex id to witch distances will be computed
- by default false, if true each edge is treated as bidirectional
- numeric parameter for ED
graph where each vertex has distance to @vertexId
Main object of shortest paths algorithm Created by Roman Bartusiak (roman.bartusiak@pwr.edu.pl http://riomus.github.io).