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
removeEdges() my input file are like: [0,0.0,[[0,0]]] [1,1.0,[[0,0]]] [2,1.0,[[0,0],[1,0]]] [3,1.0,[[0,0],[1,0],[2,0]]] 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. Best, Hai