Interface DescriptorHandler<T,U>
-
- All Superinterfaces:
ISimilarityCalculator<T>
- All Known Subinterfaces:
IDescriptorHandlerFlexophore
- All Known Implementing Classes:
AbstractDescriptorHandlerFP
,AbstractDescriptorHandlerLongFP
,DescriptorHandlerFFP512
,DescriptorHandlerFlexophore
,DescriptorHandlerFunctionalGroups
,DescriptorHandlerHashedCFp
,DescriptorHandlerIntVector
,DescriptorHandlerLongCFP
,DescriptorHandlerLongFFP512
,DescriptorHandlerLongPFP512
,DescriptorHandlerPFP512
,DescriptorHandlerPTree
,DescriptorHandlerReactionFP
,DescriptorHandlerShape
,DescriptorHandlerShapeOneConf
,DescriptorHandlerSkeletonSpheres
public interface DescriptorHandler<T,U> extends ISimilarityCalculator<T>
DescriptorHandler is the base Interface for any molecular descriptor handling StereoMolecules or Reactions
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
FAILED_BYTES
static java.lang.String
FAILED_STRING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
calculationFailed(T o)
T
createDescriptor(U chemObject)
T
decode(byte[] bytes)
T
decode(java.lang.String s)
java.lang.String
encode(T o)
DescriptorInfo
getInfo()
DescriptorHandler<T,U>
getThreadSafeCopy()
java.lang.String
getVersion()
-
Methods inherited from interface com.actelion.research.chem.descriptor.ISimilarityCalculator
getSimilarity
-
-
-
-
Field Detail
-
FAILED_STRING
static final java.lang.String FAILED_STRING
- See Also:
- Constant Field Values
-
FAILED_BYTES
static final byte[] FAILED_BYTES
-
-
Method Detail
-
getInfo
DescriptorInfo getInfo()
- Specified by:
getInfo
in interfaceISimilarityCalculator<T>
-
getVersion
java.lang.String getVersion()
-
encode
java.lang.String encode(T o)
-
decode
T decode(java.lang.String s)
-
decode
T decode(byte[] bytes)
-
calculationFailed
boolean calculationFailed(T o)
-
getThreadSafeCopy
DescriptorHandler<T,U> getThreadSafeCopy()
- Specified by:
getThreadSafeCopy
in interfaceISimilarityCalculator<T>
- Returns:
- a deep copy for parallel computing.
-
-