Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Generating powerset with progressive ordering

by Roy Johnson (Monsignor)
on Apr 27, 2005 at 02:38 UTC ( #451830=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Generating powerset with progressive ordering
in thread Generating powerset with progressive ordering

That does simplify it, but it throws off the progressive ordering, which worked out almost magically the way I had it written. For the problem L~R was looking to solve, it was not useful to consider the empty set, either. Probably I should rename the function "non-empty powerset". :-)

++ for technical merit.


Caution: Contents may have been coded under pressure.


Comment on Re^5: Generating powerset with progressive ordering

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://451830]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2015-07-29 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls