Interface MetricFactory<C>

Type Parameters:
C - Represented comparator/dissimilarity calculator type.
All Superinterfaces:
Serializable
All Known Subinterfaces:
BinaryVectorMetricFactory<C>, BvGenerator, CfpGenerator, EcfpGenerator, com.chemaxon.descriptors.metrics.FloatVectorMetricFactory<C>, FvGenerator, PfGenerator

@Beta @PublicAPI public interface MetricFactory<C> extends Serializable
Represents available metrics.

Descriptor specific extensions are expected to provide additional comparator methods. Metric factory interfaces are referenced by ComparisonContextFactory.metricFactoryClass().

Please note that this interface is marked with Beta annotation, so it can be subject of incompatible changes or removal in later releases.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.chemaxon.apidiscovery.linenote.Linenote<C>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the default comparator object.
  • Method Details

    • defaultComparison

      C defaultComparison()
      Gets the default comparator object.
      Returns:
      default comparator
    • comparisonLinenote

      @Deprecated(forRemoval=true) @SubjectToRemoval(date=JAN_01_2025) com.chemaxon.apidiscovery.linenote.Linenote<C> comparisonLinenote()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the string based parameterization description.

      This can be used to automatically compose user interfaces with rich parameterization. Please note that the represented APIs are under development.

      Returns:
      Parameterization description