giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hai Lan <>
Subject remove edges
Date Fri, 23 Sep 2016 15:15:01 GMT
Dear all,

I am new to Giraph and facing a problem to remove edges. I'm trying to
remove all edges pointed to some specific vertexes before next superstep.
e.g. vertex value =0 by using


my input file are like:

After I used removeEdges(vertex.getId()), I used vertex.getNumEdges() to
count how many edges left. The problem is :
my expected output should be the outdegree of 0,1,2,3 are 0,0,1,2 cause
edge to vertex 0 is removed. However, it seems like edge of vertex 0 is
removed cause edge of vertex 0 became 0. However, other vertex edge number
just remained the same, like vertex 1 still be 1 though it has an edge
pointed to 0.
BTW, I used JsonLongDoubleFloatDoubleVertexInputFormat to input.

Does anyone have idea about this?

Thank you so much for your help.



View raw message