helix.graph.algo.c3part.compressor
Class MultiInColorsCompressor

java.lang.Object
  extended by helix.graph.algo.c3part.compressor.AbstractCompressor
      extended by helix.graph.algo.c3part.compressor.AbstractMultiCompressor
          extended by helix.graph.algo.c3part.compressor.MultiInColorsCompressor
All Implemented Interfaces:
GraphCompressor, MultiGraphCompressor

public class MultiInColorsCompressor
extends AbstractMultiCompressor


Constructor Summary
MultiInColorsCompressor()
           
 
Method Summary
 Iterable<Vertex> patternSet_(Vertex V, Graph multi)
          delegate patternSet
 void restoreEdge_(Vertex V, Vertex W, Vertex Root, Graph multi)
          delegate restoration restore (if needed) edge between V and W
 boolean subsumes_(Vertex V, Vertex U, Graph graph)
          delegate subsumption
 
Methods inherited from class helix.graph.algo.c3part.compressor.AbstractMultiCompressor
expandVertex, getColors, subsumes
 
Methods inherited from class helix.graph.algo.c3part.compressor.AbstractCompressor
compress, compress, compressVertex, expand, flatten, getAliases, getNeighbors, getParamInfo, getRoot, getVertices, isAlias, isNormal, isRoot, nbVertices, retrieveSet, storeSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface helix.graph.algo.c3part.compressor.GraphCompressor
compress, compress, compressVertex, expand, flatten, getAliases, getNeighbors, getParamInfo, getRoot, getVertices, isAlias, isNormal, isRoot, nbVertices, retrieveSet, storeSet
 

Constructor Detail

MultiInColorsCompressor

public MultiInColorsCompressor()
Method Detail

patternSet_

public final Iterable<Vertex> patternSet_(Vertex V,
                                          Graph multi)
delegate patternSet

Specified by:
patternSet_ in class AbstractMultiCompressor

subsumes_

public boolean subsumes_(Vertex V,
                         Vertex U,
                         Graph graph)
delegate subsumption

Specified by:
subsumes_ in class AbstractMultiCompressor

restoreEdge_

public void restoreEdge_(Vertex V,
                         Vertex W,
                         Vertex Root,
                         Graph multi)
delegate restoration restore (if needed) edge between V and W

Specified by:
restoreEdge_ in class AbstractMultiCompressor