|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.matching.modules.AbstractModule
public abstract class AbstractModule
The AbstractModule class represents an abstract schema matching module.
A schema mathing module can compare SchemaElement
objects
and produce bidirectional degrees for each pair of schema elements.
The module stores SchemaElementPair
objects and their
associated SimilarSchemaElementPair
objects.
SchemaElement
,
BidirectionalDegree
,
SimilarSchemaElementPair
Field Summary | |
---|---|
protected java.util.Hashtable |
bidirectionalDegrees
The Hashtable storing the bidirectional degrees. |
static Frame |
frame
|
static java.lang.String[] |
semanticMappingNames
|
(package private) UncertainSchemaElementPair[] |
usrs
|
Constructor Summary | |
---|---|
AbstractModule()
|
Method Summary | |
---|---|
SimilarSchemaElementPair[] |
getBidirectionalDegrees()
Returns an array of SimilarSchemaElementPair objects which define the bidirectional degrees between the pairs of schema elements. |
static java.util.Hashtable |
getBidirectionalDegrees(java.util.Hashtable forward,
java.util.Hashtable backward)
Returns a Hashtable of the bidirectional degrees. |
SimilarSchemaElementPair |
getBidirectionalSimilarity(SchemaElementPair p)
Returns a SimilarSchemaElementPair object which defines the bidirectional degrees
for the specified SchemaElementPair |
UncertainSchemaElementPair[] |
getUSRs()
|
void |
saveDegrees(java.lang.String filename)
|
void |
setBidirectionalDegrees(java.util.Hashtable forward,
java.util.Hashtable backward)
Sets the bidirectional degrees of the module. |
void |
setUSRs(UncertainSchemaElementPair[] usrs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] semanticMappingNames
public static final Frame frame
UncertainSchemaElementPair[] usrs
protected java.util.Hashtable bidirectionalDegrees
Hashtable
storing the bidirectional degrees. The keys
of the hash table are objects of class SchemaElementPair
and
the values are objects of class SimilarSchemaElementPair
Constructor Detail |
---|
public AbstractModule()
Method Detail |
---|
public void setUSRs(UncertainSchemaElementPair[] usrs)
public UncertainSchemaElementPair[] getUSRs()
public void setBidirectionalDegrees(java.util.Hashtable forward, java.util.Hashtable backward)
SchemaElementPair
objects to SimilarSchemaElementPair
objects.
forward
- the forward similarity degreesbackward
- the backward similarity degreespublic static java.util.Hashtable getBidirectionalDegrees(java.util.Hashtable forward, java.util.Hashtable backward)
Hashtable
of the bidirectional degrees. The hash table
has keys SchemaElementPair
objects which are associated with
SimilarSchemaElementPair
objects, which provide the bidirectional degrees.
Hashtable
of the bidirectional degreespublic SimilarSchemaElementPair[] getBidirectionalDegrees()
SimilarSchemaElementPair
objects which define the bidirectional degrees between the pairs of schema elements.
SimilarSchemaElementPair
object with the bidirectional degrees of schema elementspublic SimilarSchemaElementPair getBidirectionalSimilarity(SchemaElementPair p)
SimilarSchemaElementPair
object which defines the bidirectional degrees
for the specified SchemaElementPair
p
- the schema element pair whose bidirectional degrees are returned
SimilarSchemaElementPair
object with the bidirectional degrees of the SchemaElementPair
public void saveDegrees(java.lang.String filename) throws UninstantiatedException, java.io.IOException
UninstantiatedException
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |