Class AbstractDescriptorHandlerLongFP<U>
- java.lang.Object
-
- com.actelion.research.chem.descriptor.AbstractDescriptorHandlerLongFP<U>
-
- All Implemented Interfaces:
DescriptorHandler<long[],U>,ISimilarityCalculator<long[]>
- Direct Known Subclasses:
DescriptorHandlerLongCFP,DescriptorHandlerLongFFP512,DescriptorHandlerLongPFP512,DescriptorHandlerReactionFP
public abstract class AbstractDescriptorHandlerLongFP<U> extends java.lang.Object implements DescriptorHandler<long[],U>
-
-
Field Summary
Fields Modifier and Type Field Description protected static long[]FAILED_OBJECT-
Fields inherited from interface com.actelion.research.chem.descriptor.DescriptorHandler
FAILED_BYTES, FAILED_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractDescriptorHandlerLongFP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancalculationFailed(long[] o)long[]decode(byte[] bytes)long[]decode(java.lang.String s)java.lang.Stringencode(long[] o)floatgetSimilarity(long[] o1, long[] o2)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.actelion.research.chem.descriptor.DescriptorHandler
createDescriptor, getInfo, getThreadSafeCopy, getVersion
-
-
-
-
Method Detail
-
encode
public java.lang.String encode(long[] o)
- Specified by:
encodein interfaceDescriptorHandler<long[],U>
-
decode
public long[] decode(java.lang.String s)
- Specified by:
decodein interfaceDescriptorHandler<long[],U>
-
decode
public long[] decode(byte[] bytes)
- Specified by:
decodein interfaceDescriptorHandler<long[],U>
-
calculationFailed
public boolean calculationFailed(long[] o)
- Specified by:
calculationFailedin interfaceDescriptorHandler<long[],U>
-
getSimilarity
public float getSimilarity(long[] o1, long[] o2)- Specified by:
getSimilarityin interfaceISimilarityCalculator<U>
-
-