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


com.chemaxon.descriptors.fingerprints.pf2d
Class PfTableReader

Object
  extended by com.chemaxon.descriptors.db.MDTableReader<FloatVectorDescriptor>
      extended by com.chemaxon.descriptors.fingerprints.pf2d.PfTableReader

@Beta
public abstract class PfTableReader
extends MDTableReader<FloatVectorDescriptor>

MDTable reader for 2D pharmacophore fingerprints.

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 PfTableReader.Factory
          Factory class.
 
Constructor Summary
PfTableReader()
           
 
Method Summary
static PfTableReader createNewReader(String xmlConfig)
          Create a PfTableReader from the xml configuration string.
abstract  PfComparator getDefaultComparator()
          Gets default comparator.
abstract  PfComparator getFloatVectorComparator(FloatVectorMetrics metrics)
          Creates a new comparator instance according to the given metric.
 
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

PfTableReader

public PfTableReader()
Method Detail

getDefaultComparator

public abstract PfComparator getDefaultComparator()
Gets default comparator.

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

getFloatVectorComparator

public abstract PfComparator getFloatVectorComparator(FloatVectorMetrics metrics)
Creates a new comparator instance according to the given metric.

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

createNewReader

public static PfTableReader 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)