|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.xqhs.graphs.matcher.Match.MatchComparator
public static class Match.MatchComparator
Match
comparator.
The matches are sorted according to k
(smaller k first). If equal, order by id.
Field Summary | |
---|---|
private MonitorPack |
monitorLink
Link to the object measuring performance of the algorithm in terms of number of compared edges. |
Constructor Summary | |
---|---|
Match.MatchComparator(MonitorPack monitor)
Creates a match comparator. |
Method Summary | |
---|---|
int |
compare(Match m1,
Match m2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
private MonitorPack monitorLink
Constructor Detail |
---|
public Match.MatchComparator(MonitorPack monitor)
monitor
- - the object measuring performance in terms of edge matches.Method Detail |
---|
public int compare(Match m1, Match m2)
compare
in interface java.util.Comparator<Match>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |