public class ConnectedComponentsData extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkOddEvenResult(BufferedReader result) |
static void |
checkOddEvenResult(List<org.apache.flink.api.java.tuple.Tuple2<Long,Long>> lines) |
static String |
getEnumeratingVertices(int num) |
static String |
getRandomOddEvenEdges(int numEdges,
int numVertices,
long seed)
Creates random edges such that even numbered vertices are connected with even numbered
vertices and odd numbered vertices only with other odd numbered ones.
|
public static final String getEnumeratingVertices(int num)
public static final String getRandomOddEvenEdges(int numEdges, int numVertices, long seed)
public static void checkOddEvenResult(BufferedReader result) throws IOException
IOExceptionpublic static void checkOddEvenResult(List<org.apache.flink.api.java.tuple.Tuple2<Long,Long>> lines) throws IOException
IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.