|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.miningmart.schemamatching.MmSchemaMatcher
Abstract superclass of schema matching methods in the MiningMart environment. Whenever a concrete subclass of this subclass is implemented, you can add a name representing its matcher to the String array edu.udo.cs.miningmart.m4.M4Interface.AVAILABLE_MATCHERS, and add a call to an instantiation of that class to the method edu.udo.cs.miningmart.m4.core.M4InterfaceImpl.findConnection(...) at the place indicated there. Then the matcher implemented by your subclass is automatically available in the GUI.
Constructor Summary | |
MmSchemaMatcher()
|
Method Summary | |
abstract double |
getDirectSimilarity(BaseAttribute ba1,
BaseAttribute ba2)
Returns the double value that this matcher considers as the similarity between ba1 and ba2, based only on information related to these BaseAttributes. |
abstract double |
getDirectSimilarity(Concept con1,
Concept con2)
Returns the double value that this matcher considers as the similarity between con1 and con2, based only on the information in these concepts but not on dependent attributes (like BaseAttributes). |
double |
getSimilarity(Concept con1,
Concept con2)
Returns the global (overall) similarity of the two Concepts, considering any indirect or direct attributes, for example their Features. |
abstract double |
getSimilarityInvolvingConcepts(BaseAttribute ba1,
BaseAttribute ba2)
Returns the double value that this matcher considers as the similarity between ba1 and ba2, taking the similarity of their respective concepts into accounts as well. |
MatchingResult[][] |
getSimilarityMatrix(Concept con1,
Concept con2)
Returns a matrix (instance of class edu.udo.miningmart.schemamatching.MatchingResult) of n x m Dimension, where n and m are the number of features of each of the given concepts. |
double |
getThresholdForComparingAttributes()
|
double |
getThresholdForComparingConcepts()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MmSchemaMatcher()
Method Detail |
public double getThresholdForComparingAttributes()
public double getThresholdForComparingConcepts()
public abstract double getDirectSimilarity(BaseAttribute ba1, BaseAttribute ba2) throws SchemaMatchException
ba1
- One BaseAttributeba2
- Another BaseAttribute
SchemaMatchException
public abstract double getDirectSimilarity(Concept con1, Concept con2) throws SchemaMatchException
con1
- One Conceptcon2
- Another Concept
SchemaMatchException
public abstract double getSimilarityInvolvingConcepts(BaseAttribute ba1, BaseAttribute ba2) throws SchemaMatchException
ba1
- One BaseAttributeba2
- Another BaseAttribute
SchemaMatchException
public double getSimilarity(Concept con1, Concept con2) throws SchemaMatchException
con1
- A conceptcon2
- Another concept
SchemaMatchException
public MatchingResult[][] getSimilarityMatrix(Concept con1, Concept con2) throws SchemaMatchException
con1
- A conceptcon2
- Another concept
MatchingResult
s (direct similarity matrix)
SchemaMatchException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |