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, MaccsGenerator, 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.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the default comparator object.
  • Method Details

    • defaultComparison

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