in reply to Re^2: algorithm for 'best subsets'
in thread algorithm for 'best subsets'
I understand Bit::Vector, and making vectors that are the width of the keyword table, and marking the keyword bits for a given item.
You don't seem to need the first gang of bit vectors at all; you are marking item bits in item-wide vectors, then never using those vectors.
I understand what I read in Graph::UnionFind, but not its algorithm internally, but I might not need to. I think I understand the output it should give.
What I don't understand is the way you're trying to combine these methods, and second-guessing the Graph::UnionFind's results on each loop.
It seems to me that I can use G::UF without bit vectors at all, adding edges between correlated keywords, and then scan each partition for what keywords are in each partition.
Can you speak more to your reasoning?
--
[ e d @ h a l l e y . c c ]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: algorithm for 'best subsets'
by tall_man (Parson) on Mar 05, 2005 at 15:12 UTC | |
by halley (Prior) on Mar 05, 2005 at 15:57 UTC | |
by tall_man (Parson) on Mar 06, 2005 at 13:43 UTC |