Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Algorithm to convert combinations to bitstring

by spx2 (Deacon)
on Jan 10, 2010 at 14:57 UTC ( [id://816611]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Algorithm to convert combinations to bitstring
in thread Algorithm to convert combinations to bitstring

ok you're right :) how did you solve the problem ?
  • Comment on Re^5: Algorithm to convert combinations to bitstring

Replies are listed 'Best First'.
Re^6: Algorithm to convert combinations to bitstring
by Limbic~Region (Chancellor) on Jan 10, 2010 at 15:26 UTC
    spx2,
    See How many words does it take?. If I remember correctly, I modified blokhead's solution to Java. Since I was dealing with a powerset, I had 26 bitstrings - 1 for each possible length of string.

    Cheers - L~R

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-20 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found