Examples of addEdgeCount()


Examples of org.apache.giraph.graph.partition.PartitionStats.addEdgeCount()

                    }
                    if (basicVertex.isHalted()) {
                        partitionStats.incrFinishedVertexCount();
                    }
                    partitionStats.incrVertexCount();
                    partitionStats.addEdgeCount(basicVertex.getNumOutEdges());
                }
                partitionStatsList.add(partitionStats);
            }
        } while (!serviceWorker.finishSuperstep(partitionStatsList));
        if (LOG.isInfoEnabled()) {
View Full Code Here

Examples of org.apache.giraph.partition.PartitionStats.addEdgeCount()

        // 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());
      }

      messageStore.clearPartition(partition.getId());

      synchronized (workerContext) {
View Full Code Here

Examples of org.apache.giraph.partition.PartitionStats.addEdgeCount()

        // 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);
          verticesComputedProgress = 0;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.