public static class SimpleMutateGraphVertex.SimpleMutateGraphVertexWorkerContext extends WorkerContext
SimpleMutateGraphVertex.| Constructor and Description |
|---|
SimpleMutateGraphVertex.SimpleMutateGraphVertexWorkerContext() |
| Modifier and Type | Method and Description |
|---|---|
long |
getEdgeCount() |
long |
getOrigEdgeCount() |
long |
getVertexCount() |
void |
increaseEdgesRemoved()
Increase the number of edges removed by one.
|
void |
postApplication()
Finalize the WorkerContext.
|
void |
postSuperstep()
Execute user code.
|
void |
preApplication()
Initialize the WorkerContext.
|
void |
preSuperstep()
Execute user code.
|
aggregate, getAggregatedValue, getContext, getSuperstep, getTotalNumEdges, getTotalNumVertices, setGraphStatepublic SimpleMutateGraphVertex.SimpleMutateGraphVertexWorkerContext()
public void preApplication()
throws InstantiationException,
IllegalAccessException
WorkerContextpreApplication in class WorkerContextInstantiationException - Expected instantiation in this method.IllegalAccessException - Thrown for getting the classpublic void postApplication()
WorkerContextpostApplication in class WorkerContextpublic void preSuperstep()
WorkerContextpreSuperstep in class WorkerContextpublic void postSuperstep()
WorkerContextpostSuperstep in class WorkerContextpublic long getVertexCount()
public long getEdgeCount()
public long getOrigEdgeCount()
public void increaseEdgesRemoved()
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.