public class SccComputationTestInMemory extends Object
SccComputation| Constructor and Description |
|---|
SccComputationTestInMemory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addVertex(TestGraph<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable> graph,
long id,
long... outgoingVertices)
Connects the outgoingVertices to the given vertex id
with null-valued edges.
|
static Map.Entry<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.NullWritable>[] |
makeEdges(long... args) |
void |
testToyData() |
public static Map.Entry<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.NullWritable>[] makeEdges(long... args)
public static void addVertex(TestGraph<org.apache.hadoop.io.LongWritable,SccVertexValue,org.apache.hadoop.io.NullWritable> graph, long id, long... outgoingVertices)
graph - id - outgoingVertices - Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.