fingerprinters.features
Class FeatureMap

java.lang.Object
  extended by fingerprinters.features.FeatureMap

public class FeatureMap
extends java.lang.Object


Constructor Summary
FeatureMap(java.util.List<IFeature> features)
           
 
Method Summary
 double computeMinMaxDistance(FeatureMap other)
           
 double computeTanimotoCoefficient(FeatureMap other)
           
 java.util.BitSet getHashedFingerPrint(int hashSpace)
          returns a hashed binary fingerprint of size hashSpace
 java.util.Set<IFeature> getKeySet()
           
 java.lang.String getLabel()
           
 int getSize()
           
 double getValue(IFeature key)
           
 void print()
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureMap

public FeatureMap(java.util.List<IFeature> features)
Method Detail

computeMinMaxDistance

public double computeMinMaxDistance(FeatureMap other)

computeTanimotoCoefficient

public double computeTanimotoCoefficient(FeatureMap other)

getKeySet

public java.util.Set<IFeature> getKeySet()

getLabel

public java.lang.String getLabel()

getSize

public int getSize()

getValue

public double getValue(IFeature key)

print

public void print()

setLabel

public void setLabel(java.lang.String label)

getHashedFingerPrint

public java.util.BitSet getHashedFingerPrint(int hashSpace)
returns a hashed binary fingerprint of size hashSpace

Parameters:
hashSpace -
Returns: