OECreateFastFPDatabaseOptions

class OECreateFastFPDatabaseOptions

This class represents the OECreateFastFPDatabaseOptions class that encapsulates properties that determine how fast fingerprints are generated when calling the OECreateFastFPDatabaseFile function.

Constructors

OECreateFastFPDatabaseOptions(const OEFPTypeBase *fptype)

Constructs an OECreateFastFPDatabaseOptions object with the given fingerprints type.

See also

Note

GraphSim TK currently only supports the popcount search method for fingerprints with the size of multiple of 256. This means that the OEFPType.MACCS166 fingerprint type is currently not supported. When using other custom fingerprint types (see User-defined Fingerprint section) the size of the fingerprint must be a multiple of 256 in order to be able to search it with the popcount method.

GetFPType

const OEFPTypeBase *GetFPType() const

Returns the fingerprint type in which the OECreateFastFPDatabaseOptions was constructed.

See also

GetNumProcessors

unsigned int GetNumProcessors() const

Returns the number of threads that are used to generate fingerprints when calling the OECreateFastFPDatabaseFile function.

SetNumProcessors

void SetNumProcessors(unsigned int nrps)

Sets the number of threads that are used to generate fingerprints when calling the OECreateFastFPDatabaseFile function. When set to 0, the number of processors used will be the number returned by the OEGetNumProcessors function.

SetTracer

void SetTracer(const OESystem::OEDots &dots)

Sets a tracer that can be used to show the progress of fingerprint generation.

See also

  • OEDots class in the OEChem TK manual