uk.ac.ic.doc.automed.matching.modules.bidirectionalmap
Class PrecisionModule
java.lang.Object
uk.ac.ic.doc.automed.matching.modules.AbstractModule
uk.ac.ic.doc.automed.matching.modules.bidirectionalmap.PrecisionModule
public class PrecisionModule
- extends AbstractModule
The module that compares the schema elements by examining the precision of their instances
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrecisionModule
public PrecisionModule(java.util.ArrayList elementsA,
java.util.ArrayList elementsB)
throws UninstantiatedException
- Constructs a
PrecisionModule to compare the specified schema elements in the input lists.
- Parameters:
elementsA - a list of SchemaElement objectselementsB - a list of SchemaElement objects
- Throws:
UninstantiatedException - if an element doesn't contain any instances
PrecisionModule
public PrecisionModule(SchemaElement[] elementsA,
SchemaElement[] elementsB)
throws UninstantiatedException
- Constructs a
PrecisionModule to compare the specified schema elements in the input arrays.
- Parameters:
elementsA - an array of SchemaElement objectselementsB - an array of SchemaElement objects
- Throws:
UninstantiatedException - if an element doesn't contain any instances
PrecisionModule
public PrecisionModule(SchemaElementPair[] pairs)
throws UninstantiatedException
- Throws:
UninstantiatedException
compareRange
public static java.lang.Double compareRange(ComparableExact fromMax,
ComparableExact toMax,
ComparableExact fromMin,
ComparableExact toMin)