jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap
Class SimilarityResultImpl

Object
  extended by com.chemaxon.overlap.SimilarityResultImpl
All Implemented Interfaces:
SimilarityResultNode

public final class SimilarityResultImpl
extends Object
implements SimilarityResultNode

Similarity result implementation.

Author:
Gabor Imre

Constructor Summary
SimilarityResultImpl(int targetId, double dissimilarity)
          Construct.
 
Method Summary
 double getDissimiliarity()
          Get the represented dissimilarity value.
 int getTargetID()
          Get the internal ID of the represented target structure.
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimilarityResultImpl

public SimilarityResultImpl(int targetId,
                            double dissimilarity)
Construct.

Parameters:
targetId - Target ID
dissimilarity - Dissimilarity to represent
Method Detail

getTargetID

public int getTargetID()
Description copied from interface: SimilarityResultNode
Get the internal ID of the represented target structure.

Specified by:
getTargetID in interface SimilarityResultNode
Returns:
Represented target ID

getDissimiliarity

public double getDissimiliarity()
Description copied from interface: SimilarityResultNode
Get the represented dissimilarity value.

Specified by:
getDissimiliarity in interface SimilarityResultNode
Returns:
Represented dissimilarity value

toString

public String toString()
Overrides:
toString in class Object

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)