public class CirculantGraph extends GeneratedGraph<LongValue>
CirculantGraph
.Constructor and Description |
---|
CirculantGraph() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ParameterTool parameterTool)
Read parameter values from the command-line arguments.
|
Graph<LongValue,NullValue,NullValue> |
generate(ExecutionEnvironment env)
Generate the graph as configured.
|
String |
getIdentity()
A human-readable identifier summarizing the input and configuration.
|
String |
getName()
A unique, human-readable identifier.
|
String |
getUsage()
Human-readable format for the command-line usage string.
|
protected long |
vertexCount()
The vertex count is verified to be no greater than the capacity of the
selected data type.
|
create, getTypeName
addParameter
public String getName()
Parameterized
public String getUsage()
Parameterized
getUsage
in interface Parameterized
getUsage
in class ParameterizedBase
public void configure(ParameterTool parameterTool) throws ProgramParametrizationException
Parameterized
configure
in interface Parameterized
configure
in class ParameterizedBase
parameterTool
- parameter parserProgramParametrizationException
- when configuration is invalidpublic String getIdentity()
Input
protected long vertexCount()
GeneratedGraph
vertexCount
in class GeneratedGraph<LongValue>
public Graph<LongValue,NullValue,NullValue> generate(ExecutionEnvironment env)
GeneratedGraph
generate
in class GeneratedGraph<LongValue>
env
- Flink execution environmentCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.