Class SeqSimStmt

java.lang.Object
  |
  +--SimilarityStatement
        |
        +--SeqSimStmt

public class SeqSimStmt
extends SimilarityStatement

A sequential similarity statement is a statement about the similarity of two sequential subgraphs.


Field Summary
 
Fields inherited from class SimilarityStatement
olap, simMeasure, smResult, subgraph1, subgraph2
 
Constructor Summary
SeqSimStmt(SeqSubgraph s1, SeqSubgraph s2, SeqSimMeasure ssm, SimFinder sf)
           
 
Method Summary
 java.lang.Object clone()
          Returns a SeqSimStmt 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 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
 

Constructor Detail

SeqSimStmt

public SeqSimStmt(SeqSubgraph s1,
                  SeqSubgraph s2,
                  SeqSimMeasure ssm,
                  SimFinder sf)
Method Detail

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 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 SeqSimStmt with clones of the two subgraphs.

Specified by:
clone in class SimilarityStatement