| Package | Description |
|---|---|
| org.apache.flink.graph | |
| org.apache.flink.graph.library | |
| org.apache.flink.graph.spargel |
| Modifier and Type | Method and Description |
|---|---|
<M> Graph<K,VV,EV> |
Graph.runScatterGatherIteration(ScatterFunction<K,VV,M,EV> scatterFunction,
GatherFunction<K,VV,M> gatherFunction,
int maximumNumberOfIterations)
Runs a ScatterGather iteration on the graph.
|
<M> Graph<K,VV,EV> |
Graph.runScatterGatherIteration(ScatterFunction<K,VV,M,EV> scatterFunction,
GatherFunction<K,VV,M> gatherFunction,
int maximumNumberOfIterations,
ScatterGatherConfiguration parameters)
Runs a ScatterGather iteration on the graph with configuration options.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectedComponents.CCMessenger<K,VV extends Comparable<VV>>
Sends the current vertex value to all adjacent vertices.
|
static class |
LabelPropagation.SendNewLabelToNeighbors<K,VV extends Comparable<VV>>
Sends the vertex label to all out-neighbors.
|
static class |
SingleSourceShortestPaths.MinDistanceMessenger<K>
Distributes the minimum distance associated with a given vertex among all
the target vertices summed up with the edge's value.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,VV,Message,EV> |
ScatterGatherIteration.withEdges(org.apache.flink.api.java.DataSet<Edge<K,EV>> edgesWithValue,
ScatterFunction<K,VV,Message,EV> sf,
GatherFunction<K,VV,Message> gf,
int maximumNumberOfIterations)
Creates a new scatter-gather iteration operator for graphs where the edges are associated with a value (such as
a weight or distance).
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.