helix.graph.algo.c3part.lookahead
Class ColorPathConnector

java.lang.Object
  extended by helix.graph.algo.c3part.lookahead.LookaheadConnector
      extended by helix.graph.algo.c3part.lookahead.TerminalsConnector
          extended by helix.graph.algo.c3part.lookahead.ColorPathConnector

public class ColorPathConnector
extends TerminalsConnector


Method Summary
static LookaheadConnector getInstance()
           
 void getLookAhead(Graph datagraph, Graph multigraph, int color, GSet<Vertex> store)
          get the connected component of all datanodes in multigraph terminals following only links of terminal color.
 
Methods inherited from class helix.graph.algo.c3part.lookahead.LookaheadConnector
getLookahead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LookaheadConnector getInstance()

getLookAhead

public void getLookAhead(Graph datagraph,
                         Graph multigraph,
                         int color,
                         GSet<Vertex> store)
get the connected component of all datanodes in multigraph terminals following only links of terminal color. store them into 'store'

Overrides:
getLookAhead in class TerminalsConnector
Parameters:
datagraph - Graph current datagraph
multigraph - Graph current multigraph (clas) beeing expanded
color - int color of terminals to find
store - GSet[Vertex] set to store results