public class ConnectedComponentsData extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkOddEvenResult(BufferedReader result) |
static void |
checkOddEvenResult(List<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
IOException
public static void checkOddEvenResult(List<Tuple2<Long,Long>> lines) throws IOException
IOException
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.