@Beta @PublicAPI public interface EcfpGenerator extends DescriptorGenerator<BinaryVectorDescriptor>, BinaryVectorMetricFactory<EcfpComparator>
Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Guarded.EnsureThat, Guarded.New
BinaryVectorMetricFactory.ToLinenote<C>
Modifier and Type | Method and Description |
---|---|
BinaryLongComparisonContextFactory |
comparisonContextFactory()
Get an unguarded context factory.
|
Ecfp |
generateDescriptor(Molecule m)
Calculates the associated descriptor for the given Molecule.
|
EcfpComparator |
getBinaryMetricsComparator(BinaryMetrics metrics)
|
EcfpComparator |
getDefaultComparator()
Deprecated.
|
EcfpParameters |
getParameters()
Gets the parameter object.
|
EcfpComparator |
getTverskyComparator(double coeffQuery,
double coeffTarget)
Deprecated.
|
EcfpComparator |
getTverskyComparator(TverskyParameters tverskyParamaters)
|
defaultComparison, getBareDescriptor
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toString
getGuardObject
forBinaryMetrics, forTversky, forTverskyCoefficients
comparisonLinenote, defaultComparison
@Deprecated EcfpComparator getDefaultComparator()
DescriptorGenerator
getDefaultComparator
in interface DescriptorGenerator<BinaryVectorDescriptor>
@Deprecated EcfpComparator getBinaryMetricsComparator(BinaryMetrics metrics)
BinaryVectorMetricFactory.forBinaryMetrics(com.chemaxon.descriptors.metrics.BinaryMetrics)
metrics
- binary metric@Deprecated EcfpComparator getTverskyComparator(TverskyParameters tverskyParamaters)
BinaryVectorMetricFactory.forTversky(com.chemaxon.descriptors.metrics.TverskyParameters)
tverskyParamaters
- parameters for the comparator@Deprecated EcfpComparator getTverskyComparator(double coeffQuery, double coeffTarget)
BinaryVectorMetricFactory.forTverskyCoefficients(double, double)
coeffQuery
- Query side coefficientcoeffTarget
- Target side coefficientBinaryLongComparisonContextFactory comparisonContextFactory()
DescriptorGenerator
byte []
serialization based unguarded representation.
Implementations are expected to provide additional factory methods for unguarded and plain descriptor comparators for implemented metrics.
comparisonContextFactory
in interface DescriptorGenerator<BinaryVectorDescriptor>
Ecfp generateDescriptor(Molecule m)
DescriptorGenerator
Note that different descriptors/application scenarios might need different structure standardization.
Currently structure standardization is generally not in the scope of the responsibilities of
DescriptorGenerator
to the possible maximal extent.
Since the returned descriptor might contain additional data (reference to input Molecule
, etc) if
it is stored for later comparison it is recommended to use the bare-only representation returned by
DescriptorGenerator.getBareDescriptor(com.chemaxon.descriptors.common.Descriptor)
.
generateDescriptor
in interface DescriptorGenerator<BinaryVectorDescriptor>
m
- Input moleculeDescriptorGenerator.getBareDescriptor(com.chemaxon.descriptors.common.Descriptor)
on either the rich or the
bare representation.EcfpParameters getParameters()
DescriptorGenerator
getParameters
in interface DescriptorGenerator<BinaryVectorDescriptor>