| Modifier and Type | Method and Description |
|---|---|
RecyclerReference<Vertex> |
Allocator.newVertex() |
| Modifier and Type | Method and Description |
|---|---|
void |
Allocator.freeVertex(RecyclerReference<Vertex> reference) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphFactory.createVertex() |
<V extends Value> |
GraphFactory.createVertex(Id id,
V value) |
<V extends Value> |
GraphFactory.createVertex(String label,
Id id,
V value) |
| Modifier and Type | Method and Description |
|---|---|
Vertex |
GraphComputeInput.readEdges() |
Vertex |
GraphComputeInput.readVertex() |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphComputeOutput.writeEdges(Vertex vertex) |
void |
GraphComputeOutput.writeVertex(Vertex vertex) |
void |
GraphWritebackOutput.writeVertex(Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
void |
ComputerOutput.write(Vertex vertex)
For each vertex in partition, this method is called regardless
vertex's status.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ReduceComputation.compute(ComputationContext context,
Vertex vertex,
Iterator<M> messages)
Compute the specified vertex with messages.
|
default void |
FilterComputation.compute(ComputationContext context,
Vertex vertex,
Iterator<M> messages)
Compute a vertex with messages.
|
void |
Computation.compute(ComputationContext context,
Vertex vertex,
Iterator<M> messages)
Compute a active vertex.
|
default void |
ReduceComputation.compute0(ComputationContext context,
Vertex vertex)
Compute with initial message.
|
default void |
FilterComputation.compute0(ComputationContext context,
Vertex vertex)
Compute with initial message.
|
void |
Computation.compute0(ComputationContext context,
Vertex vertex)
Compute a vertex without message in superstep0.
|
M |
ReduceComputation.computeMessage(ComputationContext context,
Vertex vertex,
M message)
Compute the vertex with combined message, or null if no message received.
|
M |
FilterComputation.computeMessage(ComputationContext context,
Vertex vertex,
M message)
Compute vertex with a message.
|
default Iterator<M> |
FilterComputation.computeMessages(ComputationContext context,
Vertex vertex,
Iterator<M> messages)
Compute vertex with all the messages received and return the results
as an iterator.
|
M |
ReduceComputation.initialValue(ComputationContext context,
Vertex vertex)
Set vertex's value and return initial message.
|
M |
FilterComputation.initialValue(ComputationContext context,
Vertex vertex)
Set vertex's value and return initial message.
|
default void |
ReduceComputation.sendMessage(ComputationContext context,
Vertex vertex,
M result)
Send result to adjacent vertices of a specified vertex.
|
default void |
FilterComputation.sendMessages(ComputationContext context,
Vertex vertex,
Iterator<M> results)
Subclass should override this method if want to send messages to
specified adjacent vertices, send to all adjacent vertices by default.
|
default <M extends Value> |
ComputationContext.sendMessagesToAllEdges(Vertex vertex,
Iterator<M> values)
Send all values to all adjacent vertices of specified vertex.
|
default <M extends Value> |
ComputationContext.sendMessagesToAllEdgesIf(Vertex vertex,
Iterator<M> values,
java.util.function.BiFunction<M,Id,Boolean> filter)
Send all values to filtered adjacent vertices of specified vertex.
|
default void |
ComputationContext.sendMessageToAllEdges(Vertex vertex,
Value value)
Send value to all adjacent vertices of specified vertex.
|
default <M extends Value> |
ComputationContext.sendMessageToAllEdgesIf(Vertex vertex,
M value,
java.util.function.BiFunction<M,Id,Boolean> filter)
Send all values to filtered adjacent vertices of specified vertex.
|
default void |
ReduceComputation.updateState(Vertex vertex)
Set vertex's state after computation, set inactive by default.
|
default void |
FilterComputation.updateState(Vertex vertex)
Set vertex's state after computation, set inactive by default.
|
Copyright © 2020–2021. All rights reserved.