public class EchoGraph extends GraphGeneratorBase<LongValue,NullValue,NullValue>
nvertices defined by the width of a single range of offsets centered at
n/2. A vertex is connected to 'far' vertices, which connect to 'near' vertices, which connect to 'far' vertices, ....
Vertex in the
EchoGraph has the same degree. and vertices as far as
possible are chose to be linked.
EchoGraph is a specific case of
|Modifier and Type||Field and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
Generates the configured graph.
public static final int MINIMUM_VERTEX_COUNT
public static final int MINIMUM_VERTEX_DEGREE
public EchoGraph(ExecutionEnvironment env, long vertexCount, long vertexDegree)
Graphwhose vertices have the same degree.
env- the Flink execution environment
vertexCount- number of vertices
vertexDegree- degree of vertices
public Graph<LongValue,NullValue,NullValue> generate()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.