OECreateFastFPDatabaseOptions¶
class OECreateFastFPDatabaseOptions
This class represents the OECreateFastFPDatabaseOptions
class that encapsulates properties that determine how fast fingerprints
are generated when calling the OECreateFastFPDatabaseFile
function.
See also
OECreateFastFPDatabaseFile
functionExample code in Generating fingerprint file for fast fingerprint search section
Constructors¶
OECreateFastFPDatabaseOptions(const OEFPTypeBase *fptype)
Constructs an OECreateFastFPDatabaseOptions object with the given fingerprints type.
See also
OEFPTypeBase class
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
OEFPTypeBase class
GetNumProcessors¶
unsigned int GetNumProcessors() const
Returns the number of threads that are used to generate
fingerprints when calling the
OECreateFastFPDatabaseFile
function.
See also
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.