public class ConnectedComponents
extends java.lang.Object
Constructor and Description |
---|
ConnectedComponents() |
Modifier and Type | Method and Description |
---|---|
static <VD,ED> Graph<java.lang.Object,ED> |
run(Graph<VD,ED> graph,
scala.reflect.ClassTag<VD> evidence$3,
scala.reflect.ClassTag<ED> evidence$4)
Compute the connected component membership of each vertex and return a graph with the vertex
value containing the lowest vertex id in the connected component containing that vertex.
|
static <VD,ED> Graph<java.lang.Object,ED> |
run(Graph<VD,ED> graph,
int maxIterations,
scala.reflect.ClassTag<VD> evidence$1,
scala.reflect.ClassTag<ED> evidence$2)
Compute the connected component membership of each vertex and return a graph with the vertex
value containing the lowest vertex id in the connected component containing that vertex.
|
public static <VD,ED> Graph<java.lang.Object,ED> run(Graph<VD,ED> graph, int maxIterations, scala.reflect.ClassTag<VD> evidence$1, scala.reflect.ClassTag<ED> evidence$2)
graph
- the graph for which to compute the connected componentsmaxIterations
- the maximum number of iterations to run forevidence$1
- (undocumented)evidence$2
- (undocumented)public static <VD,ED> Graph<java.lang.Object,ED> run(Graph<VD,ED> graph, scala.reflect.ClassTag<VD> evidence$3, scala.reflect.ClassTag<ED> evidence$4)
graph
- the graph for which to compute the connected componentsevidence$3
- (undocumented)evidence$4
- (undocumented)