Changes in 4.42:
Obsolete functions.
dt_fp_size(), dt_fp_setsize().
dt_fp_minsize(), dt_fp_setminsize().
dt_fp_mindensity(), dt_fp_setmindensity().
dt_fp_alloc(), dt_fp_fingerprint(), dt_fp_fold().
New functions.
dt_fp_allocfp(dt_Integer size) => dt_Handle fp
-
Allocates a new, empty fingerprint of the given size (in bits).
dt_fp_generatefp(dt_Handle ob, dt_Integer minpath, dt_Integer maxpath,
dt_Integer size) => dt_Handle fp
-
Creates and fills in a fingerprint of the given size based on 'ob'.
-
Minpath and maxpath set the inclusive range of path lengths used in the
bit-generation step.
-
dt_fp_generatefp(ob, 0, 7, size) == dt_fp_fingerprint(ob, FALSE).
dt_fp_foldfp(dt_Handle fp, dt_Integer minsize, dt_Real density) =>
dt_Boolean ok
-
Folds the given fingerprint object zero or more times until the size is minsize
or the bit density is above 'density'.
dt_fp_bitvalue(dt_Handle fp, dt_Integer bitno) => dt_Integer value
dt_fp_setbitvalue(dt_Handle fp, dt_Integer bitno, dt_Integer value) =>
dt_Boolean ok
-
Gets or sets the current value (0 or 1) of a bit in a fingerprint.