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


com.chemaxon.descriptors.fingerprints.cfp
Class CfpTableReader

Object
  extended by com.chemaxon.descriptors.db.MDTableReader<BinaryVectorDescriptor>
      extended by com.chemaxon.descriptors.fingerprints.cfp.CfpTableReader

@Beta
public abstract class CfpTableReader
extends MDTableReader<BinaryVectorDescriptor>

MDTable reader for CFP.

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 CfpTableReader.Factory
          Factory class.
 
Constructor Summary
CfpTableReader()
           
 
Method Summary
static CfpTableReader createNewReader(String xmlConfig)
          Create a PfTableReader from the xml configuration string.
abstract  CfpComparator getBinaryVectorComparator(BinaryMetrics metrics)
          Creates a new comparator instance according to the given metric.
abstract  CfpComparator 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

CfpTableReader

public CfpTableReader()
Method Detail

getDefaultComparator

public abstract CfpComparator getDefaultComparator()
Gets default comparator.

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

getBinaryVectorComparator

public abstract CfpComparator 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 CfpTableReader 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)