edu.byu.deg.ontos.heuristic
Class GlobalOverlapHeuristic
java.lang.Object
edu.byu.deg.ontos.MappingHeuristic
edu.byu.deg.ontos.heuristic.GlobalOverlapHeuristic
- public class GlobalOverlapHeuristic
- extends MappingHeuristic
Implements the heuristic that eliminates conflicting claims caused by
overlapping matches. This implementation resolves overlapping claims even when
the claims are made by different object sets -- hence the "global" nature of the
class. Note that since all overlapping claims are decided by this
implementation, the heuristic effectively maps each character of the document to
at most one object set, and so very little remains to decide in the value
mapping process. The local version of this heuristic is more likely to yield
accurate results.
Method Summary |
void |
eliminateOverlaps(edu.byu.deg.framework.Ontology ont,
String rootURI)
Resolves overlapping value match claims, rejecting all but one of the matches
that lay claim to a particular region of the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchComparer
Comparator matchComparer
GlobalOverlapHeuristic
public GlobalOverlapHeuristic()
- Creates a new instance of GlobalOverlapHeuristic
eliminateOverlaps
public void eliminateOverlaps(edu.byu.deg.framework.Ontology ont,
String rootURI)
- Resolves overlapping value match claims, rejecting all but one of the matches
that lay claim to a particular region of the document.
- Parameters:
ont
- The ontology in which the value matches are stored.rootURI
- The URI of the root of the document tree to which the value matches must belong
to be considered during the overlap elimination process.