Package | Description |
---|---|
org.apache.flink.graph.library.metric.undirected |
Modifier and Type | Method and Description |
---|---|
VertexMetrics<K,VV,EV> |
VertexMetrics.run(Graph<K,VV,EV> input) |
VertexMetrics<K,VV,EV> |
VertexMetrics.setIncludeZeroDegreeVertices(boolean includeZeroDegreeVertices)
By default only the edge set is processed for the computation of degree.
|
VertexMetrics<K,VV,EV> |
VertexMetrics.setReduceOnTargetId(boolean reduceOnTargetId)
The degree can be counted from either the edge source or target IDs.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.