|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.fuzzyTree.IsomorphicDataNodeComparator
Compares nodes based on their isomorphism index and labels.
Field Summary | |
(package private) DataGraph |
theDataGraph
|
Constructor Summary | |
(package private) |
IsomorphicDataNodeComparator(DataGraph dataGraph)
Creates an IsomorphicNodeComparator using dataGraph for the tree. |
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Two nodes are equal if they have the same label, and, if they have children, and the same isomorphism index for each child, taking position of children into account. |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.util.Comparator |
equals |
Field Detail |
DataGraph theDataGraph
Constructor Detail |
IsomorphicDataNodeComparator(DataGraph dataGraph)
dataGraph
for the tree.Method Detail |
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |