|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.client.net.OccurrenceEdgeCreator
public class OccurrenceEdgeCreator
Creates an edge between two term nodes if the number of documents that occur in both nodes is greater than or equal to some threshold.
Field Summary | |
---|---|
private int |
threshold
|
Constructor Summary | |
---|---|
OccurrenceEdgeCreator(int threshold)
Creates an OccurenceEdgeCreator with the specified threshold. |
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 the number of documents that occur in both nodes is greater than or equal to the threshold. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int threshold
Constructor Detail |
---|
public OccurrenceEdgeCreator(int threshold)
threshold
- the threshold for document co-occurence that triggers edge creationMethod Detail |
---|
public boolean createEdge(TermNode node1, TermNode node2, edu.uci.ics.jung.graph.Graph<TermNode,CGEdge> graph)
createEdge
in interface EdgeCreator
node1
- the first nodenode2
- the second nodegraph
- the graph where the edge will be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |