public class StronglyConnectedComponents
extends Object
Constructor and Description |
---|
StronglyConnectedComponents() |
Modifier and Type | Method and Description |
---|---|
static <VD,ED> Graph<Object,ED> |
run(Graph<VD,ED> graph,
int numIter,
scala.reflect.ClassTag<VD> evidence$1,
scala.reflect.ClassTag<ED> evidence$2)
Compute the strongly connected component (SCC) of each vertex and return a graph with the
vertex value containing the lowest vertex id in the SCC containing that vertex.
|
public static <VD,ED> Graph<Object,ED> run(Graph<VD,ED> graph, int numIter, scala.reflect.ClassTag<VD> evidence$1, scala.reflect.ClassTag<ED> evidence$2)
graph
- the graph for which to compute the SCC