- Type Parameters:
I
- Vertex id type
V
- Vertex value type
E
- Edge value type
- All Implemented Interfaces:
- TestGraphModifier<I,V,E>
public class SmallDirectedForestGraphInit<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
extends Object
implements TestGraphModifier<I,V,E>
Create a directed forest that looks like:
0 4 6
/ \ | / \
1 2 5 7 8
|
3
Edges are directed from top to bottom.
Vertices with no edges are created.