jklustor-all-api-0.0.7-20140619012755 (ChemAxon)


com.chemaxon.descriptors.fingerprints.ecfp
Class EcfpTableReader

Object
  extended by com.chemaxon.descriptors.db.MDTableReader<BinaryVectorDescriptor>
      extended by com.chemaxon.descriptors.fingerprints.ecfp.EcfpTableReader

@Beta
public abstract class EcfpTableReader
extends MDTableReader<BinaryVectorDescriptor>

MDTable reader for ECFP/FCFP.

Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.

Author:
Laszlo Antal

Nested Class Summary
static interface EcfpTableReader.Factory
          Factory class.
 
Constructor Summary
EcfpTableReader()
           
 
Method Summary
static EcfpTableReader createNewReader(String xmlConfig)
          Create a PfTableReader from the xml configuration string.
abstract  EcfpComparator getBinaryVectorComparator(BinaryMetrics metrics)
          Creates a new comparator instance according to the given metric.
abstract  EcfpComparator getDefaultComparator()
          Gets default comparator.
 
Methods inherited from class com.chemaxon.descriptors.db.MDTableReader
getXmlConfig, read
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcfpTableReader

public EcfpTableReader()
Method Detail

getDefaultComparator

public abstract EcfpComparator getDefaultComparator()
Gets default comparator.

Specified by:
getDefaultComparator in class MDTableReader<BinaryVectorDescriptor>
Returns:
default comparator object

getBinaryVectorComparator

public abstract EcfpComparator getBinaryVectorComparator(BinaryMetrics metrics)
Creates a new comparator instance according to the given metric.

Parameters:
metrics - binary vector metric
Returns:
a comparator object

createNewReader

public static EcfpTableReader createNewReader(String xmlConfig)
Create a PfTableReader from the xml configuration string.

Parameters:
xmlConfig - xml config
Returns:
a PfTableReader implementation
Throws:
IllegalArgumentException - invalid xml string

jklustor-all-api-0.0.7-20140619012755 (ChemAxon)