Package chemaxon.jchem.db
Class JChemSearch.DissimilarityMetrics
java.lang.Object
chemaxon.jchem.db.JChemSearch.DissimilarityMetrics
- Enclosing class:
- JChemSearch
Class for presenting the available dissimilarity metrics for similarity
search.
- Since:
- JChem 3.2
-
Field Summary
Modifier and TypeFieldDescriptionfloat[]
The default tresholds for the available metrics, in the same order asmetricNames
int
The index of the default metric, referring tometricNames
, starting from 0.String[]
The names of the available metrics (e.g {"tanimoto","tversky"})The name of the similarity search method (for display)int[]
Number of parameters for each metricString[]
For every metric: default values for parameters separated with "," e.g.String[]
Help text for every metric.String[]
For every metric: names of the parameters enumerated and separated with "," e.g.String[]
For every metric: ranges for parameters separated with "," e.g. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the similarity search method (for display) -
metricNames
The names of the available metrics (e.g {"tanimoto","tversky"}) -
numOfParam
public int[] numOfParamNumber of parameters for each metric -
paramNames
For every metric: names of the parameters enumerated and separated with "," e.g. {"","queryWeight,targetWeight"} -
paramRanges
For every metric: ranges for parameters separated with "," e.g. {"","0..1,0..1"} -
paramDefault
For every metric: default values for parameters separated with "," e.g. {"","0.5,0.5"} -
defaultDissimilarityMetricThresholds
public float[] defaultDissimilarityMetricThresholdsThe default tresholds for the available metrics, in the same order asmetricNames
-
paramHelp
Help text for every metric. -
defaultMetricIndex
public int defaultMetricIndexThe index of the default metric, referring tometricNames
, starting from 0.
-
-
Constructor Details
-
DissimilarityMetrics
public DissimilarityMetrics()
-