Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_setobitcount - specify the number of bits set in the unfolded fingerprint

Generic Prototype

dt_fp_setobitcount(dt_Handle, dt_Integer) => dt_Boolean

C Prototype

#include "dt_finger.h"

dt_Boolean dt_fp_setobitcount(dt_Handle fingerprint, dt_Integer count)

FORTRAN Prototype

include 'dt_f_finger.inc'

logical dt_f_fp_setobitcount(fingerprint, count)

integer*4 fingerprint
integer*4 count

Description

Sets the number of bits set (1's) in the original fingerprint before folding. This is intended for use only with fingerprint objects created by dt_fp_allocfp(3) and filled manually; it allows you to store a folded fingerprint, then retrieve it and re-create the original fingerprint object.

Return Value

Returns the success (TRUE) or failure (FALSE) of the operation.

Related Topics

dt_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_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3) dt_fp_tversky(3)