jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap
Interface SimilarityResults

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimilarityResultsImpl

@Beta
public interface SimilarityResults
extends Serializable

Results of similarity calculations.

This result object holds ordered target-query-dissimilarity triplets.

Author:
Gabor Imre

Method Summary
 double getDissimilarity(int index)
          Dissimilarity.
 int getQuery(int index)
          ID of stored query.
 int getTarget(int index)
          ID of the stored target.
 int size()
          Number of stored triplets.
 

Method Detail

size

int size()
Number of stored triplets.

Returns:
Number of stored triplets

getQuery

int getQuery(int index)
ID of stored query.

Parameters:
index - Index
Returns:
Query ID for the given index

getTarget

int getTarget(int index)
ID of the stored target.

Parameters:
index - Index
Returns:
Target ID for the given index

getDissimilarity

double getDissimilarity(int index)
Dissimilarity.

Parameters:
index - Index
Returns:
Associated dissimilarity for the given index

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)