uk.ac.ic.doc.automed.matching.modules.intervals
Class NumberInstancesModule

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.modules.AbstractModule
      extended by uk.ac.ic.doc.automed.matching.modules.intervals.NumberInstancesModule

public class NumberInstancesModule
extends AbstractModule

The module that compares the number of instances of the schema elements


Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.matching.modules.AbstractModule
bidirectionalDegrees, frame, semanticMappingNames
 
Constructor Summary
NumberInstancesModule(java.util.ArrayList elementsA, java.util.ArrayList elementsB)
          Constructs a NumberInstancesModule to compare the specified schema elements in the input lists.
NumberInstancesModule(SchemaElement[] elementsA, SchemaElement[] elementsB)
          Constructs a NumberInstancesModule to compare the specified schema elements in the input arrays.
NumberInstancesModule(SchemaElementPair[] pairs)
           
 
Method Summary
 
Methods inherited from class uk.ac.ic.doc.automed.matching.modules.AbstractModule
getBidirectionalDegrees, getBidirectionalDegrees, getBidirectionalSimilarity, getUSRs, saveDegrees, setBidirectionalDegrees, setUSRs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberInstancesModule

public NumberInstancesModule(java.util.ArrayList elementsA,
                             java.util.ArrayList elementsB)
                      throws UninstantiatedException,
                             MatchException
Constructs a NumberInstancesModule to compare the specified schema elements in the input lists.

Parameters:
elementsA - a list of SchemaElement objects
elementsB - a list of SchemaElement objects
Throws:
UninstantiatedException - if an element doesn't contain any instances
MatchException

NumberInstancesModule

public NumberInstancesModule(SchemaElement[] elementsA,
                             SchemaElement[] elementsB)
                      throws UninstantiatedException,
                             MatchException
Constructs a NumberInstancesModule to compare the specified schema elements in the input arrays.

Parameters:
elementsA - an array of SchemaElement objects
elementsB - an array of SchemaElement objects
Throws:
UninstantiatedException - if an element doesn't contain any instances
MatchException

NumberInstancesModule

public NumberInstancesModule(SchemaElementPair[] pairs)
                      throws UninstantiatedException,
                             MatchException
Throws:
UninstantiatedException
MatchException