Github user spupyrev commented on a diff in the pull request: https://github.com/apache/giraph/pull/82#discussion_r239885327 --- Diff: giraph-examples/src/main/java/org/apache/giraph/examples/feature_diffusion_utils/labeling/PageRankLabelingMigrationSimulationComputation.java --- @@ -0,0 +1,52 @@ +package org.apache.giraph.examples.feature_diffusion_utils.labeling; + +import java.io.IOException; + +import org.apache.giraph.block_app.migration.MigrationAbstractComputation.MigrationFullBasicComputation; +import org.apache.giraph.graph.Vertex; +import org.apache.hadoop.io.LongWritable; +import org.apache.hadoop.io.NullWritable; +import org.apache.hadoop.io.Text; +import org.apache.log4j.Logger; + +import org.apache.giraph.examples.feature_diffusion_utils.datastructures.*; + +public class PageRankLabelingMigrationSimulationComputation extends MigrationFullBasicComputation<LongWritable,LabelingVertexValue, NullWritable, Text> { + + + Logger LOG = Logger.getLogger(this.getClass()); + + + /*public void initialize(GraphState graphState, --- End diff -- Please get rid of all debug code. It is hard to read the code otherwise
---