VertexMutations<IntWritable, IntWritable, IntWritable, IntWritable>
mutations = new VertexMutations<IntWritable, IntWritable,
IntWritable, IntWritable>();
for (int j = 0; j < 3; ++j) {
Vertex vertex = conf.createVertex();
vertex.initialize(new IntWritable(i), new IntWritable(j));
mutations.addVertex(vertex);
}
for (int j = 0; j < 2; ++j) {
mutations.removeVertex();
}