it.unitn.disi.smatch.matchers.structure.tree
Class OptimizedStageTreeMatcher

java.lang.Object
  extended by it.unitn.disi.smatch.matchers.structure.tree.OptimizedStageTreeMatcher
All Implemented Interfaces:
ITreeMatcher

public class OptimizedStageTreeMatcher
extends java.lang.Object
implements ITreeMatcher

Matches first disjoint, then subs, then joins subsumption. For minimal links paper. This is the optimized version from "pseudocode-Final Version.doc" User: Aliaksandr


Constructor Summary
OptimizedStageTreeMatcher()
           
 
Method Summary
 IMatchMatrix treeMatch(IContext sourceContext, IContext targetContext, IMatchMatrix ClabMatrixParam)
          Matches two contexts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedStageTreeMatcher

public OptimizedStageTreeMatcher()
Method Detail

treeMatch

public IMatchMatrix treeMatch(IContext sourceContext,
                              IContext targetContext,
                              IMatchMatrix ClabMatrixParam)
                       throws SMatchException
Description copied from interface: ITreeMatcher
Matches two contexts.

Specified by:
treeMatch in interface ITreeMatcher
Parameters:
sourceContext - source context
targetContext - target context
ClabMatrixParam - a matrix of relations between ACoLs of contexts
Returns:
a matrix of relations between contexts
Throws:
SMatchException


© 2010 Knowdive @ DISI