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

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

public class BaselineTreeMatcher
extends DefaultTreeMatcher
implements ITreeMatcher

Created by IntelliJ IDEA. User: Nickh Date: 03.03.2005 Time: 15:30:58 To change this template use File | Settings | File Templates.


Constructor Summary
BaselineTreeMatcher()
           
 
Method Summary
 java.util.Vector<java.lang.String> getLemmasForReasoning(INode node)
           
protected  char getRelationString(boolean isContains, boolean isContained, boolean isOpposite)
           
protected  java.util.Vector removeDublicates(java.util.Vector tmp)
           
 IMatchMatrix treeMatch(IContext sourceContext, IContext targetContext, IMatchMatrix ClabMatrix)
          Matches two contexts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaselineTreeMatcher

public BaselineTreeMatcher()
Method Detail

treeMatch

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

Specified by:
treeMatch in interface ITreeMatcher
Overrides:
treeMatch in class DefaultTreeMatcher
Parameters:
sourceContext - source context
targetContext - target context
ClabMatrix - a matrix of relations between ACoLs of contexts
Returns:
a matrix of relations between contexts

removeDublicates

protected java.util.Vector removeDublicates(java.util.Vector tmp)

getRelationString

protected char getRelationString(boolean isContains,
                                 boolean isContained,
                                 boolean isOpposite)

getLemmasForReasoning

public java.util.Vector<java.lang.String> getLemmasForReasoning(INode node)


© 2010 Knowdive @ DISI