Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_fingertest - test a fingerprint for bitwise inclusion in another fingerprint

Generic Prototype

dt_fp_fingertest(dt_Handle, dt_Handle) => dt_Boolean

C Prototype

#include "dt_finger.h"

dt_Boolean dt_fp_fingertest(dt_Handle fp1, dt_Handle fp2)

FORTRAN Prototype

include 'dt_f_finger.inc'

logical dt_f_fp_fingertest(fp1, fp2)

integer*4 fp1
integer*4 fp2

Description

Tests to see if all of the bits set in the fingerprint 'fp1' are also set in the fingerprint 'fp2'. If so, the molecule from which 'fp1' is generated can be a substructure of the molecule from which 'fp2' is generated.

Return Value

Returns TRUE if all of the bits set in 'fp1' are set in 'fp2'. Returns FALSE if any bit set in 'fp1' is not set in 'fp2' or if the fingerprints are not compatible (different sizes) or one of the objects is not a fingerprint.

Related Topics

dt_fp_allocfp(3) dt_fp_bitcount(3) dt_fp_bitvalue(3) dt_fp_commonbitcount(3) dt_fp_euclid(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)