it.unitn.disi.smatch.filters
Class RedundantMappingFilter

java.lang.Object
  extended by it.unitn.disi.smatch.components.Configurable
      extended by it.unitn.disi.smatch.filters.BaseFilter
          extended by it.unitn.disi.smatch.filters.RedundantMappingFilter
All Implemented Interfaces:
IConfigurable, IMappingFilter
Direct Known Subclasses:
RedundantMappingFilterEQ

public class RedundantMappingFilter
extends BaseFilter
implements IMappingFilter

Filters mapping removing all links which logically follow from the other links in the mapping.

For more details see:

http://eprints.biblio.unitn.it/archive/00001525/

Giunchiglia, Fausto and Maltese, Vincenzo and Autayeu, Aliaksandr. Computing minimal mappings. Technical Report DISI-08-078, Department of Information Engineering and Computer Science, University of Trento. Proc. of the Fourth Ontology Matching Workshop at ISWC 2009.

Author:

Field Summary
 
Fields inherited from class it.unitn.disi.smatch.filters.BaseFilter
mappingFactory
 
Fields inherited from class it.unitn.disi.smatch.components.Configurable
GLOBAL_PREFIX, globalComponents, properties
 
Constructor Summary
RedundantMappingFilter()
           
 
Method Summary
 IContextMapping<INode> filter(IContextMapping<INode> mapping)
          Filters the mapping.
 boolean findRelation(char relation, INode sourceNode, java.util.Iterator<INode> targetNodes, IContextMapping<INode> mapping)
           
 boolean findRelation(char relation, java.util.Iterator<INode> sourceNodes, INode targetNode, IContextMapping<INode> mapping)
           
 boolean findRelation(char relation, java.util.Iterator<INode> sourceNodes, java.util.Iterator<INode> targetNodes, IContextMapping<INode> mapping)
           
protected  char getRelation(IContextMapping<INode> mapping, INode a, INode b)
           
protected  boolean verifyCondition1(IContextMapping<INode> mapping, IMappingElement<INode> e)
           
protected  boolean verifyCondition2(IContextMapping<INode> mapping, IMappingElement<INode> e)
           
protected  boolean verifyCondition3(IContextMapping<INode> mapping, IMappingElement<INode> e)
           
protected  boolean verifyCondition4(IContextMapping<INode> mapping, IMappingElement<INode> e)
           
 
Methods inherited from class it.unitn.disi.smatch.filters.BaseFilter
setProperties
 
Methods inherited from class it.unitn.disi.smatch.components.Configurable
configureComponent, getComponentProperties, getProperties, loadProperties, makeComponentPrefix, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.unitn.disi.smatch.components.IConfigurable
getProperties, setProperties, setProperties
 

Constructor Detail

RedundantMappingFilter

public RedundantMappingFilter()
Method Detail

filter

public IContextMapping<INode> filter(IContextMapping<INode> mapping)
Description copied from interface: IMappingFilter
Filters the mapping.

Specified by:
filter in interface IMappingFilter
Parameters:
mapping - source mapping
Returns:
filtered mapping

verifyCondition1

protected boolean verifyCondition1(IContextMapping<INode> mapping,
                                   IMappingElement<INode> e)

verifyCondition2

protected boolean verifyCondition2(IContextMapping<INode> mapping,
                                   IMappingElement<INode> e)

verifyCondition3

protected boolean verifyCondition3(IContextMapping<INode> mapping,
                                   IMappingElement<INode> e)

verifyCondition4

protected boolean verifyCondition4(IContextMapping<INode> mapping,
                                   IMappingElement<INode> e)

findRelation

public boolean findRelation(char relation,
                            java.util.Iterator<INode> sourceNodes,
                            INode targetNode,
                            IContextMapping<INode> mapping)

findRelation

public boolean findRelation(char relation,
                            INode sourceNode,
                            java.util.Iterator<INode> targetNodes,
                            IContextMapping<INode> mapping)

findRelation

public boolean findRelation(char relation,
                            java.util.Iterator<INode> sourceNodes,
                            java.util.Iterator<INode> targetNodes,
                            IContextMapping<INode> mapping)

getRelation

protected char getRelation(IContextMapping<INode> mapping,
                           INode a,
                           INode b)


© 2010-2011 Knowdive @ DISI