public class HypercubeGraph extends AbstractGraphGenerator<LongValue,NullValue,NullValue>
parallelism
Constructor and Description |
---|
HypercubeGraph(ExecutionEnvironment env,
long dimensions)
An undirected
Graph where edges form an n-dimensional hypercube. |
Modifier and Type | Method and Description |
---|---|
Graph<LongValue,NullValue,NullValue> |
generate()
Generates the configured graph.
|
setParallelism
public HypercubeGraph(ExecutionEnvironment env, long dimensions)
Graph
where edges form an n-dimensional hypercube.env
- the Flink execution environmentdimensions
- number of dimensionspublic Graph<LongValue,NullValue,NullValue> generate()
GraphGenerator
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.