helix.graph.algo.c3part.preprocessor
Class ColorCleaner
java.lang.Object
helix.graph.algo.c3part.preprocessor.GraphPreprocessor
helix.graph.algo.c3part.preprocessor.GraphCleaner
helix.graph.algo.c3part.preprocessor.DatagraphCleaner
helix.graph.algo.c3part.preprocessor.ColorCleaner
public class ColorCleaner
- extends DatagraphCleaner
a class to remove some colors from datagraph
and shift remaining colors accordingly
Method Summary |
void |
logParams()
default log for preprocessor parameters |
void |
run(Graph graph)
preprocess datagraph
note: the datagraph argument is modified |
ColorCleaner
public ColorCleaner(Iterable<Integer> keepColors)
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