helix.graph.algo.c3part.lookahead
Class LookaheadConnector

java.lang.Object
  extended by helix.graph.algo.c3part.lookahead.LookaheadConnector
Direct Known Subclasses:
ExtendedConnector, FullColorConnector, TerminalsConnector

public abstract class LookaheadConnector
extends Object


Constructor Summary
LookaheadConnector()
           
 
Method Summary
 GSet<Vertex> getLookahead(Graph datagraph, Graph multigraph, int color)
          get the pseudoterminals and return a new GSet[Vertex]
abstract  void getLookAhead(Graph datagraph, Graph multigraph, int color, GSet<Vertex> store)
          get the pseudoterminals and append them into 'store'.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookaheadConnector

public LookaheadConnector()
Method Detail

getLookAhead

public abstract void getLookAhead(Graph datagraph,
                                  Graph multigraph,
                                  int color,
                                  GSet<Vertex> store)
get the pseudoterminals and append them into 'store'. you must implement this method

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

getLookahead

public GSet<Vertex> getLookahead(Graph datagraph,
                                 Graph multigraph,
                                 int color)
get the pseudoterminals and return a new GSet[Vertex]

Parameters:
datagraph - Graph current datagraph
multigraph - Graph current multigraph (clas) beeing expanded
color - int color of terminals to find