Class NSSMEdge

java.lang.Object
  |
  +--SimilarityMeasure
        |
        +--NonSeqSimMeasure
              |
              +--NSSMEdge

public abstract class NSSMEdge
extends NonSeqSimMeasure

The non-sequential similarity measure "EDGE" class contains a few methods proper to edge comparison.


Field Summary
 
Fields inherited from class SimilarityMeasure
name, viewComparators
 
Constructor Summary
NSSMEdge(java.lang.String s)
           
 
Method Summary
protected  void assignBestMatch2(NonSeqSimStmt nsss, NSSMEdgeResult vr)
          Uses max matching algorithm to match vertices.
protected  int[] getBestMatch(NonSeqSimStmt nsss, NSSMEdgeResult vr)
          Always lets the subgraph with most edges choose best matches from the subgraph with least edges.
protected  double getFinalValue_deprecated(NonSeqSimStmt nsss, NSSMEdgeResult vr)
          Deprecated. Not used any more.
protected  double getFinalValue(NonSeqSimStmt nsss, NSSMEdgeResult vr)
          Computes the final value.
 
Methods inherited from class NonSeqSimMeasure
evaluate, evaluateAllViewComparators, evaluateNonSeq, findAllCombinations, findBestCombination, findBestCombination2
 
Methods inherited from class SimilarityMeasure
getNumberOfViewComparators, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSSMEdge

public NSSMEdge(java.lang.String s)
Method Detail

getBestMatch

protected int[] getBestMatch(NonSeqSimStmt nsss,
                             NSSMEdgeResult vr)
Always lets the subgraph with most edges choose best matches from the subgraph with least edges. Returns an int array representing the best match.


assignBestMatch2

protected void assignBestMatch2(NonSeqSimStmt nsss,
                                NSSMEdgeResult vr)
Uses max matching algorithm to match vertices.


getFinalValue_deprecated

protected double getFinalValue_deprecated(NonSeqSimStmt nsss,
                                          NSSMEdgeResult vr)
Deprecated. Not used any more.


getFinalValue

protected double getFinalValue(NonSeqSimStmt nsss,
                               NSSMEdgeResult vr)
Computes the final value.