helix.graph.algo.c3part.preprocessor
Class ColorCleaner

java.lang.Object
  extended by helix.graph.algo.c3part.preprocessor.GraphPreprocessor
      extended by helix.graph.algo.c3part.preprocessor.GraphCleaner
          extended by helix.graph.algo.c3part.preprocessor.DatagraphCleaner
              extended by helix.graph.algo.c3part.preprocessor.ColorCleaner

public class ColorCleaner
extends DatagraphCleaner

a class to remove some colors from datagraph and shift remaining colors accordingly


Constructor Summary
ColorCleaner(Iterable<Integer> keepColors)
           
 
Method Summary
 void logParams()
          default log for preprocessor parameters
 void run(Graph graph)
          preprocess datagraph note: the datagraph argument is modified
 
Methods inherited from class helix.graph.algo.c3part.preprocessor.GraphPreprocessor
run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorCleaner

public ColorCleaner(Iterable<Integer> keepColors)
Method Detail

run

public void run(Graph graph)
Description copied from class: GraphPreprocessor
preprocess datagraph note: the datagraph argument is modified

Specified by:
run in class GraphPreprocessor

logParams

public void logParams()
Description copied from class: GraphPreprocessor
default log for preprocessor parameters

Overrides:
logParams in class GraphPreprocessor