helix.graph.algo.c3part.visitor
Class CCSuperStarByColorVisitor

java.lang.Object
  extended by helix.graph.algo.AbstractCCVisitor
      extended by helix.graph.algo.CCVisitor
          extended by helix.graph.algo.c3part.visitor.CCMultigraphVisitor
              extended by helix.graph.algo.c3part.visitor.CCByColorVisitor
                  extended by helix.graph.algo.c3part.visitor.CCStarByColorVisitor
                      extended by helix.graph.algo.c3part.visitor.CCSuperStarByColorVisitor
All Implemented Interfaces:
Visitor

public class CCSuperStarByColorVisitor
extends CCStarByColorVisitor

the superstar version of CCStarByColorVisitor -1- keep red stars apart (red star is a vertex having a star on specified color) -2- compute normal CCs -3- fadd red stars as a separate CC


Constructor Summary
CCSuperStarByColorVisitor(Graph multigraph, int color, int colorIndex, Vertex star)
           
 
Method Summary
 Iterable<GSet<Vertex>> getComponents()
           
 
Methods inherited from class helix.graph.algo.c3part.visitor.CCStarByColorVisitor
visit
 
Methods inherited from class helix.graph.algo.c3part.visitor.CCByColorVisitor
accept
 
Methods inherited from class helix.graph.algo.CCVisitor
enter, exit, traverse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCSuperStarByColorVisitor

public CCSuperStarByColorVisitor(Graph multigraph,
                                 int color,
                                 int colorIndex,
                                 Vertex star)
Method Detail

getComponents

public Iterable<GSet<Vertex>> getComponents()
Overrides:
getComponents in class CCStarByColorVisitor