anl.aida.client.net
Interface EdgeCreator

All Known Implementing Classes:
OccurrenceEdgeCreator, ScorerThresholdEdgeCreator

public interface EdgeCreator

Interface for classes that implement edge creation. Implementors should both evaluate whether the edge should be created and and if so, then return the appropriate implementation.


Method Summary
 boolean createEdge(TermNode node1, TermNode node2, edu.uci.ics.jung.graph.Graph<TermNode,CGEdge> graph)
          Creates an edge between the two nodes if they should be linked according to some implementor specific criteria.
 

Method Detail

createEdge

boolean createEdge(TermNode node1,
                   TermNode node2,
                   edu.uci.ics.jung.graph.Graph<TermNode,CGEdge> graph)
Creates an edge between the two nodes if they should be linked according to some implementor specific criteria.

Parameters:
node1 - the first node
node2 - the second node
graph - the graph where the edge will be created
Returns:
boolean if the edge created, otherwise false.