|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--SimMeasureResult | +--NSSMEdgeResult
This is the result of applying an NSSMEdge measure to a non-sequential similarity statement.
Field Summary | |
int[] |
bestMatch
bestMatch is set to null (in the similarity measure) if noEdgeSubgraphs() is true. |
int |
doubleStringLength
For user interface purposes. |
double[][] |
meanSimilarities
The mean similarities matrix. |
int |
multipleMatchingsInBest
|
Fields inherited from class SimMeasureResult |
measure, measureNoOverlap, origin, viewDifferences |
Constructor Summary | |
NSSMEdgeResult(double meas,
NSSMEdge or,
double[][] meansims,
int[] bmatch,
int doublematchings,
java.util.Vector allMatch)
|
|
NSSMEdgeResult(NSSMEdge or)
|
Method Summary | |
void |
completeMatchData(NonSeqSimStmt nsss)
Computes the number of multiple matchings and the vector allMatches. |
double[][] |
getMeanEdgeSimMatrix()
Computes the mean similarities matrix. |
boolean |
mirrored()
Tells if the two subgraphs are swapped for comparison purposes. |
int |
noEdgeSubgraphs()
Returns true if one subgraph has no edges of the desired type. |
java.lang.String |
toString()
|
java.lang.String |
toStringWithViewDifferences()
Overrides this method because we don't want to see all the viewdiffs. |
Methods inherited from class SimMeasureResult |
toGnuplotHeader, toGnuplotString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public double[][] meanSimilarities
public int[] bestMatch
public int multipleMatchingsInBest
public final int doubleStringLength
Constructor Detail |
public NSSMEdgeResult(double meas, NSSMEdge or, double[][] meansims, int[] bmatch, int doublematchings, java.util.Vector allMatch)
public NSSMEdgeResult(NSSMEdge or)
Method Detail |
public int noEdgeSubgraphs()
NSVCEdge
is called from the similarity
measure. In that case some dimensions in the similarity matrix
will be zero. We ask about this instead of the number of edges,
because otherwise we have to remember which desired edge type that
was called for in the 'getXXXSimMatrix()' method mentioned
above.
public boolean mirrored()
public java.lang.String toStringWithViewDifferences()
toStringWithViewDifferences
in class SimMeasureResult
public double[][] getMeanEdgeSimMatrix()
public void completeMatchData(NonSeqSimStmt nsss)
public java.lang.String toString()
toString
in class SimMeasureResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |