|
|
| more useful options | |
| PerlMonks |
Re^3: Removing redundant powersets with minimal RAMby Anonymous Monk |
| on Nov 03, 2006 at 22:12 UTC ( #582181=note: print w/ replies, xml ) | Need Help?? |
|
To succinctly state the original problem, given a set of sets, generate the powerset for all sets but remove all duplicates. I guess I'm confused by your stated purpose. If you actually generate the power set of just one set with 100 elements (let alone try to consider how it iteracts with any other set!), you'll output a power set consisting of 1,267,650,600,228,229,401,496,703,205,376 elements. Where are you going to put this power set once you generate it? It's not like you can store it on your hard drive. It won't fit on any storage device I can concieve of. You certainly can't read it off the screen. I'm confused. :-(
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||