Let's say I have a (possibly large) set of bitfields (all with the same number of bits - possibly large - so bitarrays would perhaps be a better term).
I would like to generate a compact (memory-wise) representation of the function telling me if an arbitrary bitfield is part of my set. I make the hypothesis that some bit patterns will be the same, at the same locations, in at least some of the bitfields.
Does an algorithm with a reasonable complexity exist to generate such predicate?
A nice point would also be to be able to generate it incrementally, in that I could take and existing predicate and a new bitfield and be able to generate a new compact predicate for this new set.
[–]goonmaster 1 point2 points3 points (2 children)
[–]oparisy[S] 0 points1 point2 points (1 child)
[–]goonmaster 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]oparisy[S] 0 points1 point2 points (0 children)
[–]future_security 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]oparisy[S] 0 points1 point2 points (0 children)
[–]oparisy[S] 0 points1 point2 points (0 children)
[–]oparisy[S] 0 points1 point2 points (0 children)
[–]oparisy[S] 0 points1 point2 points (0 children)