helix.graph.algo.c3part.preprocessor
Class GraphCloser

java.lang.Object
  extended by helix.graph.algo.c3part.preprocessor.GraphPreprocessor
      extended by helix.graph.algo.c3part.preprocessor.GraphCloser
Direct Known Subclasses:
DataGraphCloser, EpsilonCloser, MultiGraphCloser

public abstract class GraphCloser
extends GraphPreprocessor


Constructor Summary
GraphCloser()
           
 
Method Summary
 void logParams()
          override logParams
static List<Integer> makeDeltaList(List<Integer> delta, int size)
          make a delta list of given size
if delta.size == 1 -> assume same delta for all elements, and make a list of size element equals to delta[0]
if delta.size >= size -> copy delta truncated to size if delta.size < size -> throw exception
 
Methods inherited from class helix.graph.algo.c3part.preprocessor.GraphPreprocessor
run, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphCloser

public GraphCloser()
Method Detail

makeDeltaList

public static List<Integer> makeDeltaList(List<Integer> delta,
                                          int size)
make a delta list of given size
if delta.size == 1 -> assume same delta for all elements, and make a list of size element equals to delta[0]
if delta.size >= size -> copy delta truncated to size if delta.size < size -> throw exception


logParams

public void logParams()
override logParams

Overrides:
logParams in class GraphPreprocessor