helix.graph.algo.c3part.preprocessor
Class DataGraphCloser
java.lang.Object
helix.graph.algo.c3part.preprocessor.GraphPreprocessor
helix.graph.algo.c3part.preprocessor.GraphCloser
helix.graph.algo.c3part.preprocessor.DataGraphCloser
public class DataGraphCloser
- extends GraphCloser
a class to compute delta closure of datagraphs.
in a datagraph all vertices are assumed to be colored (not necessarily all edges)
and monochromatic.
note: color 0 is reserved for the epsilon relation and is specified on edges.
note: this class does not close on the epsilon relation. to do so, use the
EpsilonCloser
class instead.
Method Summary |
void |
run(Graph graph)
implement our run() operation |
DataGraphCloser
public DataGraphCloser(List<Integer> delta)
- close on all colors (except color 0) with
deltas given in delta list. To avoid closing
on a color, use a delta value of 0 for this color.
- Parameters:
delta
- list. List size
should be >= maxcolor in the datagraph or 1.
In the latter case, the same delta value is used for
all colors.
run
public void run(Graph graph)
- implement our run() operation
- Specified by:
run
in class GraphPreprocessor