public class ConnectedComponents$ extends Object
org.apache.flink.graph.library
.
In particular, this example uses the
GSAConnectedComponents
library method to compute the connected components of the input graph.
The input file is a plain text file and must be formatted as follows:
Edges are represented by tuples of srcVertexId, trgVertexId which are
separated by tabs. Edges themselves are separated by newlines.
For example: 1\t2\n1\t3\n
defines two edges,
1-2 and 1-3.
Usage {{
ConnectedComponents ConnectedComponentsDefaultData
Modifier and Type | Field and Description |
---|---|
static ConnectedComponents$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ConnectedComponents$() |
public static final ConnectedComponents$ MODULE$
public void main(String[] args)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.