Class NonSeqSimStmt
java.lang.Object
|
+--SimilarityStatement
|
+--NonSeqSimStmt
- public class NonSeqSimStmt
- extends SimilarityStatement
A non-sequential similarity statement is a statement about the
similarity of two non-sequential subgraphs.
Constructor Summary |
NonSeqSimStmt(NonSeqSubgraph sub1,
NonSeqSubgraph sub2,
NonSeqSimMeasure sm,
SimFinder sf)
|
Method Summary |
java.lang.Object |
clone()
Returns a NonSeqSimStmt with clones of the two subgraphs. |
void |
mutate(double mutrate)
Mutates this similarity statement by either substituting one
subgraph with an entirely new randomly built non-sequential
subgraph, or extending, shortening or sliding both
subgraphs. |
java.lang.String |
toString()
|
java.lang.String |
toStringWithSubgraphs()
Includes toStrings of the two compared subgraphs. |
Methods inherited from class SimilarityStatement |
getSimilarityMeasure, gnuplotHeader, identicalSubgraphs, maxNestedSize, meanNestedSize, oksize, overlap, setSimilarityMeasure, size, sizeNoOutmostRests, sizeNoRests, toGnuplotString, toListString, value, valueAssigned |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NonSeqSimStmt
public NonSeqSimStmt(NonSeqSubgraph sub1,
NonSeqSubgraph sub2,
NonSeqSimMeasure sm,
SimFinder sf)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimilarityStatement
toStringWithSubgraphs
public java.lang.String toStringWithSubgraphs()
- Description copied from class:
SimilarityStatement
- Includes toStrings of the two compared subgraphs.
- Overrides:
toStringWithSubgraphs
in class SimilarityStatement
mutate
public void mutate(double mutrate)
throws java.lang.Exception
- Mutates this similarity statement by either substituting one
subgraph with an entirely new randomly built non-sequential
subgraph, or extending, shortening or sliding both
subgraphs.
- Specified by:
mutate
in class SimilarityStatement
java.lang.Exception
clone
public java.lang.Object clone()
- Returns a NonSeqSimStmt with clones of the two subgraphs.
- Specified by:
clone
in class SimilarityStatement