chemaxon.jchem.db
Class JChemSearch.DissimilarityMetrics

java.lang.Object
  extended by chemaxon.jchem.db.JChemSearch.DissimilarityMetrics
Enclosing class:
JChemSearch

public static class JChemSearch.DissimilarityMetrics
extends java.lang.Object

Class for presenting the available dissimilarity metrics for similarity search.

Since:
JChem 3.2

Field Summary
 float[] defaultDissimilarityMetricThresholds
          The default tresholds for the available metrics, in the same order as metricNames
 int defaultMetricIndex
          The index of the default metric, referring to metricNames, starting from 0.
 java.lang.String[] metricNames
          The names of the available metrics (e.g {"tanimoto","tversky"})
 java.lang.String name
          The name of the similarity search method (for display)
 int[] numOfParam
          Number of parameters for each metric
 java.lang.String[] paramDefault
          For every metric: default values for parameters separated with "," e.g. {"","0.5,0.5"}
 java.lang.String[] paramHelp
          Help text for every metric.
 java.lang.String[] paramNames
          For every metric: names of the parameters enumerated and separated with "," e.g.
 java.lang.String[] paramRanges
          For every metric: ranges for parameters separated with "," e.g. {"","0..1,0..1"}
 
Constructor Summary
JChemSearch.DissimilarityMetrics()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the similarity search method (for display)


metricNames

public java.lang.String[] metricNames
The names of the available metrics (e.g {"tanimoto","tversky"})


numOfParam

public int[] numOfParam
Number of parameters for each metric


paramNames

public java.lang.String[] paramNames
For every metric: names of the parameters enumerated and separated with "," e.g. {"","queryWeight,targetWeight"}


paramRanges

public java.lang.String[] paramRanges
For every metric: ranges for parameters separated with "," e.g. {"","0..1,0..1"}


paramDefault

public java.lang.String[] paramDefault
For every metric: default values for parameters separated with "," e.g. {"","0.5,0.5"}


defaultDissimilarityMetricThresholds

public float[] defaultDissimilarityMetricThresholds
The default tresholds for the available metrics, in the same order as metricNames


paramHelp

public java.lang.String[] paramHelp
Help text for every metric.


defaultMetricIndex

public int defaultMetricIndex
The index of the default metric, referring to metricNames, starting from 0.

Constructor Detail

JChemSearch.DissimilarityMetrics

public JChemSearch.DissimilarityMetrics()