|Constructor and Description|
|Modifier and Type||Method and Description|
Required configuration for each dimension of the graph.
Generates the configured graph.
public GridGraph(ExecutionEnvironment env)
Graphconnecting vertices in a regular tiling in one or more dimensions and where the endpoints are optionally connected.
env- the Flink execution environment
public GridGraph addDimension(long size, boolean wrapEndpoints)
size- number of vertices; dimensions of size 1 are prohibited due to having no effect on the generated graph
wrapEndpoints- whether to connect first and last vertices; this has no effect on dimensions of size 2
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.