Package | Description |
---|---|
org.apache.giraph.graph |
Package of all the graph related objects, built on the
org.apache.bsp package.
|
Modifier and Type | Class and Description |
---|---|
class |
VertexMutations<I extends org.apache.hadoop.io.WritableComparable,V extends org.apache.hadoop.io.Writable,E extends org.apache.hadoop.io.Writable>
Structure to hold all the possible graph mutations that can occur during a
superstep.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultVertexResolver.addEdges(Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges)
Add edges to the Vertex.
|
protected Vertex<I,V,E> |
DefaultVertexResolver.addVertexIfDesired(I vertexId,
Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges,
boolean hasMessages)
Add the Vertex if desired.
|
protected boolean |
DefaultVertexResolver.hasEdgeAdditions(VertexChanges<I,V,E> changes)
Check if changes contain edge addition requests
|
protected boolean |
DefaultVertexResolver.hasEdgeRemovals(VertexChanges<I,V,E> changes)
Check if changes contain edge removal requests
|
protected boolean |
DefaultVertexResolver.hasVertexAdditions(VertexChanges<I,V,E> changes)
Check if changes contain vertex addition requests
|
protected boolean |
DefaultVertexResolver.hasVertexRemovals(VertexChanges<I,V,E> changes)
Check if changes contain vertex removal requests
|
protected void |
DefaultVertexResolver.removeEdges(Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges)
Remove edges as specifed in changes given.
|
protected Vertex<I,V,E> |
DefaultVertexResolver.removeVertexIfDesired(Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges)
Remove the vertex itself if the changes desire it.
|
Vertex<I,V,E> |
DefaultVertexResolver.resolve(I vertexId,
Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges,
boolean hasMessages) |
Vertex<I,V,E> |
VertexResolver.resolve(I vertexId,
Vertex<I,V,E> vertex,
VertexChanges<I,V,E> vertexChanges,
boolean hasMessages)
A vertex may have been removed, created zero or more times and had
zero or more messages sent to it.
|
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.