uk.ac.ic.doc.automed.matching.modules.bidirectionalmap
Class StatisticsModule

java.lang.Object
  extended by uk.ac.ic.doc.automed.matching.modules.AbstractModule
      extended by uk.ac.ic.doc.automed.matching.modules.bidirectionalmap.StatisticsModule

public class StatisticsModule
extends AbstractModule

The module that compares the schema elements based on statistic information of the appearance of special characters on their instances


Field Summary
static char[] features
          The special characters that are examined in the elements' instances
static int MAX_CHARS
          The maximum number of characters of an instance
 
Fields inherited from class uk.ac.ic.doc.automed.matching.modules.AbstractModule
bidirectionalDegrees, frame, semanticMappingNames
 
Constructor Summary
StatisticsModule(java.util.ArrayList elementsA, java.util.ArrayList elementsB)
          Constructs a StatisticsModule to compare the specified schema elements in the input lists.
StatisticsModule(SchemaElement[] elementsA, SchemaElement[] elementsB)
          Constructs a StatisticsModule to compare the specified schema elements in the input arrays.
StatisticsModule(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
 

Field Detail

MAX_CHARS

public static int MAX_CHARS
The maximum number of characters of an instance


features

public static final char[] features
The special characters that are examined in the elements' instances

Constructor Detail

StatisticsModule

public StatisticsModule(SchemaElement[] elementsA,
                        SchemaElement[] elementsB)
                 throws UninstantiatedException,
                        MatchException
Constructs a StatisticsModule 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

StatisticsModule

public StatisticsModule(SchemaElementPair[] pairs)
                 throws UninstantiatedException
Throws:
UninstantiatedException

StatisticsModule

public StatisticsModule(java.util.ArrayList elementsA,
                        java.util.ArrayList elementsB)
                 throws UninstantiatedException,
                        MatchException
Constructs a StatisticsModule 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