}
// Remove the messages now that the vertex has finished computation
messageStore.clearVertexMessages(vertex.getId());
// Add statistics for this vertex
partitionStats.incrVertexCount();
partitionStats.addEdgeCount(vertex.getNumEdges());
verticesComputedProgress++;
if (verticesComputedProgress == VERTICES_TO_UPDATE_PROGRESS) {
WorkerProgress.get().addVerticesComputed(verticesComputedProgress);