| Modifier and Type | Interface and Description |
|---|---|
static interface |
Memory.Admin
The Admin interface is used by the
GraphComputer to update the Memory. |
| Modifier and Type | Method and Description |
|---|---|
default Memory |
Memory.Admin.asImmutable() |
Memory |
ComputerResult.memory()
Get the computational sideEffects called
Memory of the GraphComputer. |
| Modifier and Type | Method and Description |
|---|---|
void |
VertexProgram.execute(Vertex vertex,
Messenger<M> messenger,
Memory memory)
This method denotes the main body of the computation and is executed on each vertex in the graph.
|
java.util.Set<MessageScope> |
VertexProgram.getMessageScopes(Memory memory)
This method returns all the
MessageScope possibilities for a particular iteration of the vertex program. |
void |
VertexProgram.setup(Memory memory)
The method is called at the beginning of the computation.
|
boolean |
VertexProgram.terminate(Memory memory)
The method is called at the end of each iteration to determine if the computation is complete.
|
default void |
VertexProgram.workerIterationEnd(Memory memory)
This method is called at the end of each iteration of each "computational chunk."
The set of vertices in the graph are typically not processed with full parallelism.
|
default void |
VertexProgram.workerIterationStart(Memory memory)
This method is called at the start of each iteration of each "computational chunk."
The set of vertices in the graph are typically not processed with full parallelism.
|
| Constructor and Description |
|---|
ComputerResult(Graph graph,
Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
void |
PeerPressureVertexProgram.execute(Vertex vertex,
Messenger<org.javatuples.Pair<java.io.Serializable,java.lang.Double>> messenger,
Memory memory) |
java.util.Set<MessageScope> |
PeerPressureVertexProgram.getMessageScopes(Memory memory) |
void |
PeerPressureVertexProgram.setup(Memory memory) |
boolean |
PeerPressureVertexProgram.terminate(Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
void |
LambdaVertexProgram.execute(Vertex vertex,
Messenger<M> messenger,
Memory memory) |
java.util.Set<MessageScope> |
LambdaVertexProgram.getMessageScopes(Memory memory) |
void |
LambdaVertexProgram.setup(Memory memory) |
boolean |
LambdaVertexProgram.terminate(Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.execute(java.lang.Class<? extends TriConsumer<Vertex,Messenger,Memory>> executeClass) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.execute(TriConsumer<Vertex,Messenger,Memory> executeLambda) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.setup(java.lang.Class<? extends java.util.function.Consumer<Memory>> setupClass) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.setup(java.util.function.Consumer<Memory> setupLambda) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.terminate(java.lang.Class<? extends java.util.function.Predicate<Memory>> terminateClass) |
LambdaVertexProgram.Builder |
LambdaVertexProgram.Builder.terminate(java.util.function.Predicate<Memory> terminateLambda) |
| Modifier and Type | Method and Description |
|---|---|
void |
PageRankVertexProgram.execute(Vertex vertex,
Messenger<java.lang.Double> messenger,
Memory memory) |
java.util.Set<MessageScope> |
PageRankVertexProgram.getMessageScopes(Memory memory) |
void |
PageRankVertexProgram.setup(Memory memory) |
boolean |
PageRankVertexProgram.terminate(Memory memory) |
| Modifier and Type | Method and Description |
|---|---|
void |
TraversalVertexProgram.execute(Vertex vertex,
Messenger<TraverserSet<?>> messenger,
Memory memory) |
java.util.Set<MessageScope> |
TraversalVertexProgram.getMessageScopes(Memory memory) |
void |
TraversalVertexProgram.setup(Memory memory) |
boolean |
TraversalVertexProgram.terminate(Memory memory) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableMemory |
class |
MapMemory |
| Constructor and Description |
|---|
ImmutableMemory(Memory baseMemory) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
StringFactory.memoryString(Memory memory) |
Copyright © 2013-2015 TinkerPop. All Rights Reserved.