in order to hide the tuple3 actualvalue , indegree , outdegree vertex value from the user , another function will be called from org.apache.flink.graph.spargel.vertexcentriciteration . this function will retrieve the vertex from the vertexstate and will set its degrees , afterwards calling the regular updatevertex function . concode_field_sep Collector<Vertex<K,Tuple3<VV,Long,Long>>> outWithDegrees concode_elem_sep boolean setNewVertexValueCalled concode_elem_sep IterationRuntimeContext runtimeContext concode_elem_sep Vertex<K,VV> outVal concode_elem_sep Vertex<K,Tuple3<VV,Long,Long>> outValWithDegrees concode_elem_sep long numberOfVertices concode_elem_sep boolean optDegrees concode_elem_sep long outDegree concode_elem_sep long inDegree concode_elem_sep long serialVersionUID concode_elem_sep Collector<Vertex<K,VV>> out concode_field_sep void setOptDegrees concode_elem_sep void postSuperstep concode_elem_sep void init concode_elem_sep T getIterationAggregator concode_elem_sep boolean isOptDegrees concode_elem_sep int getSuperstepNumber concode_elem_sep void setNumberOfVertices concode_elem_sep long getInDegree concode_elem_sep void setOutDegree concode_elem_sep void updateVertex concode_elem_sep T getPreviousIterationAggregate concode_elem_sep void preSuperstep concode_elem_sep void setOutputWithDegrees concode_elem_sep Collection<T> getBroadcastSet concode_elem_sep void setInDegree concode_elem_sep long getNumberOfVertices concode_elem_sep void setNewVertexValue concode_elem_sep long getOutDegree concode_elem_sep void setOutput
void function ( Vertex < K , VertexWithDegree > arg0 , MessageIterator < Message > arg1 ) { Vertex < K , VV > loc0 = new Vertex < K , VV > ( arg0 . f0 , ( ( Tuple3 < VV , Long , Long > ) arg0 . getValue ( ) ) . f0 ) ; updateVertex ( loc0 , arg1 ) ; }