helix.graph.algo.c3part.visitor
Class CCSuperStarByColorVisitor
java.lang.Object
helix.graph.algo.AbstractCCVisitor
helix.graph.algo.CCVisitor
helix.graph.algo.c3part.visitor.CCMultigraphVisitor
helix.graph.algo.c3part.visitor.CCByColorVisitor
helix.graph.algo.c3part.visitor.CCStarByColorVisitor
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
CCSuperStarByColorVisitor
public CCSuperStarByColorVisitor(Graph multigraph,
int color,
int colorIndex,
Vertex star)
getComponents
public Iterable<GSet<Vertex>> getComponents()
- Overrides:
getComponents
in class CCStarByColorVisitor