Daylight v4.9 Release Date: 1 February 2008 Namedt_fp_commonbitcount - compute the count of bits 'on' in common between two fingerprintsGeneric Prototypedt_fp_commonbitcount(dt_Handle, dt_Handle) => dt_IntegerC Prototype#include "dt_finger.h"dt_Integer dt_fp_commonbitcount(dt_Handle fp1, dt_Handle fp2) FORTRAN Prototypeinclude 'dt_f_finger.inc'integer*4 dt_f_fp_commonbitcount(fp1, fp2)
integer*4 fp1
DescriptionCalculates the count of bits 'on' in common between fingerprints. The computation is not performed if the fingerprints are not compatible (different sizes) or if the objects are not fingerprints.
Return ValueReturns the commonbitcount between two fingerprints. Returns -1 for all other incompatible objects.Related Topicsdt_fp_allocfp(3) dt_fp_bitcount(3) dt_fp_bitvalue(3) dt_fp_euclid(3) dt_fp_fingertest(3) dt_fp_foldfp(3) dt_fp_generatefp(3) dt_fp_nbits(3) dt_fp_obitcount(3) dt_fp_obits(3) dt_fp_range(3) dt_fp_setbitvalue(3) dt_fp_setobitcount(3) dt_fp_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3) dt_fp_tversky(3) |