I - Vertex id typeV - Vertex value typeE - Edge value typepublic class SyntheticGraphInit<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>
| Modifier and Type | Field and Description | 
|---|---|
| static FloatConfOption | ACTUAL_LOCALITY_RATIO | 
| protected Supplier<E> | edgeSupplier | 
| static IntConfOption | NUM_COMMUNITIES | 
| static IntConfOption | NUM_EDGES_PER_VERTEX | 
| static IntConfOption | NUM_VERTICES | 
| Constructor and Description | 
|---|
| SyntheticGraphInit() | 
| SyntheticGraphInit(Supplier<E> edgeSupplier) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | modifyGraph(NumericTestGraph<I,V,E> graph) | 
public static final IntConfOption NUM_COMMUNITIES
public static final IntConfOption NUM_VERTICES
public static final IntConfOption NUM_EDGES_PER_VERTEX
public static final FloatConfOption ACTUAL_LOCALITY_RATIO
public void modifyGraph(NumericTestGraph<I,V,E> graph)
modifyGraph in interface TestGraphModifier<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.