@PublicAPI public interface PfGenerator extends DescriptorGenerator<FloatVectorDescriptor>, FloatVectorMetricFactory<PfComparator>
Guarded.EnsureThat, Guarded.New
FloatVectorMetricFactory.ToLinenote<C>
Modifier and Type | Method and Description |
---|---|
FloatVectorComparisonContextFactory |
comparisonContextFactory()
Get an unguarded context factory.
|
PharmacophoreFP |
generateDescriptor(Molecule m)
Calculates the associated descriptor for the given Molecule.
|
PfComparator |
getDefaultComparator()
Deprecated.
|
PfComparator |
getFloatVectorComparator(FloatVectorMetrics metrics)
|
PfParameters |
getParameters()
Gets the parameter object.
|
defaultComparison, getBareDescriptor
fromByteArray, fromString, serializerIsEqualWith, toByteArray, toString
getGuardObject
forFloatMetrics, forTversky, forTverskyCoefficients
comparisonLinenote, defaultComparison
@Deprecated PfComparator getDefaultComparator()
DescriptorGenerator
getDefaultComparator
in interface DescriptorGenerator<FloatVectorDescriptor>
@Deprecated PfComparator getFloatVectorComparator(FloatVectorMetrics metrics)
FloatVectorMetricFactory.forFloatMetrics(com.chemaxon.descriptors.metrics.FloatVectorMetrics)
metrics
- float vector metricFloatVectorComparisonContextFactory 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<FloatVectorDescriptor>
PharmacophoreFP 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<FloatVectorDescriptor>
m
- Input moleculeDescriptorGenerator.getBareDescriptor(com.chemaxon.descriptors.common.Descriptor)
on either the rich or the
bare representation.PfParameters getParameters()
DescriptorGenerator
getParameters
in interface DescriptorGenerator<FloatVectorDescriptor>