Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Easiest way to brute force generate all combinations of items within a hash?

by nat47 (Sexton)
on Mar 01, 2015 at 22:32 UTC ( #1118327=note: print w/replies, xml ) Need Help??


in reply to Re: Easiest way to brute force generate all combinations of items within a hash?
in thread Easiest way to brute force generate all combinations of items within a hash?

Absolutely, some ratio are blank, I didn't type them in
my %list = ( 'player1' => {rating=> 10,weight=> 60, ratio=> .166}, 'player2' => {rating=> 12, weight=> 100, ratio=> .12}, 'player3' => {rating=> 4,weight=> 23, ratio=> .173913043}, 'player3' => {rating=> 2,weight=> 142, ratio=>}, 'player4' => {rating=> 3, weight=> 119,ratio=>}, 'player5' => {rating=> 1, weight=> 14, ratio=>}, );
  • Comment on Re^2: Easiest way to brute force generate all combinations of items within a hash?
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2019-06-25 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (108 votes). Check out past polls.

    Notices?