public class ShortestPaths
extends java.lang.Object
Constructor and Description |
---|
ShortestPaths() |
Modifier and Type | Method and Description |
---|---|
static <VD,ED> Graph<scala.collection.immutable.Map<java.lang.Object,java.lang.Object>,ED> |
run(Graph<VD,ED> graph,
scala.collection.Seq<java.lang.Object> landmarks,
scala.reflect.ClassTag<ED> evidence$1)
Computes shortest paths to the given set of landmark vertices.
|
public static <VD,ED> Graph<scala.collection.immutable.Map<java.lang.Object,java.lang.Object>,ED> run(Graph<VD,ED> graph, scala.collection.Seq<java.lang.Object> landmarks, scala.reflect.ClassTag<ED> evidence$1)
graph
- the graph for which to compute the shortest pathslandmarks
- the list of landmark vertex ids. Shortest paths will be computed to each
landmark.
evidence$1
- (undocumented)