it.unitn.disi.smatch.matchers.element
Class MatcherLibrary
java.lang.Object
it.unitn.disi.smatch.matchers.element.MatcherLibrary
- All Implemented Interfaces:
- IMatcherLibrary
public class MatcherLibrary
- extends java.lang.Object
- implements IMatcherLibrary
This class performs all element level matching routines
and provides library of Element level matchers.
- Author:
- Mikalai Yatskevich mikalai.yatskevich@comlab.ox.ac.uk, Aliaksandr Autayeu avtaev@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatcherLibrary
public MatcherLibrary()
getRelation
public char getRelation(IAtomicConceptOfLabel sourceACoL,
IAtomicConceptOfLabel targetACoL)
elementLevelMatching
public IMatchMatrix elementLevelMatching(IContext sourceContext,
IContext targetContext)
throws SMatchException
- Performs Step 3 of semantic matching algorithm
- Specified by:
elementLevelMatching
in interface IMatcherLibrary
- Parameters:
sourceContext
- source contexttargetContext
- target context
- Returns:
- matrix of semantic relatons between nodes in both contexts
- Throws:
SMatchException
writeMatrix
public static void writeMatrix(IMatchMatrix h,
java.lang.String fileName)
readMatrix
public static IMatchMatrix readMatrix(java.lang.String fileName)
© 2010 Knowdive @ DISI