Interface MetricFactory<C>

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

    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(). Metric factory interfaces must be annotated with Description.

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

    • Method Detail

      • defaultComparison

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

        com.chemaxon.apidiscovery.linenote.Linenote<C> comparisonLinenote()
        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.
        Parameterization description