public interface IPatternFingerprinter extends java.lang.Comparable<IPatternFingerprinter>
Modifier and Type | Method and Description |
---|---|
void |
add(IFeature feature) |
void |
add(IPatternFingerprinter fngp) |
void |
addBinary(java.util.BitSet fingerprint) |
IPatternFingerprinter |
clone() |
boolean |
equals(java.lang.Object feature) |
IFeature |
getFeature(int index) |
int |
getFeatureCount()
Number of unique features of this fingerprint
|
java.util.Collection<IFeature> |
getFeatures() |
java.lang.String |
getFingerprintID() |
int |
getFingerprintSize()
Size of the hashed fingerprint
|
java.util.BitSet |
getHashedFingerPrint() |
java.util.Collection<java.lang.Double> |
getValues() |
double[] |
getValuesAsArray() |
java.lang.Double |
getWeight(int index) |
java.lang.Double |
getWeight(java.lang.String pattern) |
double[] |
getWeightedHashedFingerPrint() |
boolean |
hasFeature(IFeature key) |
int |
hashCode() |
void |
setFingerprintID(java.lang.String fingerprintID) |
java.lang.String |
toString() |
double[] getValuesAsArray()
java.util.Collection<IFeature> getFeatures()
java.util.Collection<java.lang.Double> getValues()
IFeature getFeature(int index) throws org.openscience.cdk.exception.CDKException
index
- org.openscience.cdk.exception.CDKException
java.lang.Double getWeight(java.lang.String pattern)
pattern
- java.lang.Double getWeight(int index)
index
- int getFingerprintSize()
int hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object feature)
equals
in class java.lang.Object
feature
- java.lang.String toString()
toString
in class java.lang.Object
java.util.BitSet getHashedFingerPrint()
void addBinary(java.util.BitSet fingerprint) throws org.openscience.cdk.exception.CDKException
fingerprint
- org.openscience.cdk.exception.CDKException
void add(IPatternFingerprinter fngp) throws org.openscience.cdk.exception.CDKException
fngp
- org.openscience.cdk.exception.CDKException
java.lang.String getFingerprintID()
void setFingerprintID(java.lang.String fingerprintID)
fingerprintID
- the fingerprintID to setint getFeatureCount()
boolean hasFeature(IFeature key)
key
- double[] getWeightedHashedFingerPrint()
void add(IFeature feature) throws org.openscience.cdk.exception.CDKException
feature
- org.openscience.cdk.exception.CDKException
IPatternFingerprinter clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException