code: @SuppressWarnings("unchecked")
  	<VertexWithDegree> void updateVertexFromScatterGatherIteration(Vertex<K, VertexWithDegree> vertexState,
  												MessageIterator<Message> inMessages) throws Exception {
  
  		Vertex<K, VV> vertex = new Vertex<>(vertexState.f0,
  			((Tuple3<VV, Long, Long>) vertexState.getValue()).f0);
  
  		updateVertex(vertex, inMessages);
  	}
docs: In order to hide the Tuple3(actualValue, inDegree, OutDegree) vertex value from the user,
  another function will be called from {@link org.apache.flink.graph.spargel.ScatterGatherIteration}.
  
  <p>This function will retrieve the vertex from the vertexState and will set its degrees, afterwards calling
  the regular updateVertex function.
  
  @param vertexState
  @param inMessages
  @throws Exception