public void postApplication() { for (Partition<I, V, E> partition : partitions) { for (Vertex<I, V, E> vertex : partition) { inputGraph.setVertex(vertex); } } } }
/** * Set vertex, replace if there was already a vertex with same id added * * @param id the index * @param value the value * @param edges all edges * @return this */ public TestGraph<I, V, E> setVertex(I id, V value, Entry<I, E>... edges) { setVertex(makeVertex(id, value, edges)); return this; }