|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.matching.Filter
public class Filter
The class that represents the Filter component in the schema matching architecture. Its role is to filter out the incompatible pairs of schema elements from the compatible ones, based on the results of the modules attached to the filter.
AbstractModule
,
SimilarSchemaElementPair
Field Summary | |
---|---|
private java.util.ArrayList |
modules
|
private SchemaElementPair[] |
pairs
|
Constructor Summary | |
---|---|
Filter(SchemaElement[] elems1,
SchemaElement[] elems2)
Constructs the Filter . |
|
Filter(SchemaElementPair[] pairs)
Constructs the Filter . |
Method Summary | |
---|---|
void |
addModule(AbstractModule module)
Appends the specified module to the list of modules of this Filter object. |
SimilarSchemaElementPair[] |
getAllPairs()
Returns an array of all schema element pairs, compatible and incompatible. |
SimilarSchemaElementPair[] |
getCompatibles(double threshold)
Returns an array of SimilarSchemaElementPair objects that define compatible pairs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.ArrayList modules
private SchemaElementPair[] pairs
Constructor Detail |
---|
public Filter(SchemaElement[] elems1, SchemaElement[] elems2) throws UninstantiatedException
Filter
. Only the pairs of elements defined by the
input arrays are going to be examined.
elems1
- the first array of schema elementselems2
- the second array of schema elements
UninstantiatedException
- if an input array doesn't contain any elementspublic Filter(SchemaElementPair[] pairs) throws UninstantiatedException
Filter
. Only the pairs of elements defined
are going to be examined.
pairs
- the array of schema element pairs
UninstantiatedException
- if the input array doesn't contain any pairsMethod Detail |
---|
public void addModule(AbstractModule module)
Filter
object.
module
- the module to be appendedpublic SimilarSchemaElementPair[] getCompatibles(double threshold)
SimilarSchemaElementPair
objects that define compatible pairs.
The specified threshold defines the compatible pairs. A pair of schema elements
in order to be compatible it must have average bidirectional degree over the specified threshold,
BidirectionalDegree.overFunction(double)
.
threshold
- the compatibility threshold
SimilarSchemaElementPair
objects that define compatible pairs.public SimilarSchemaElementPair[] getAllPairs()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |