Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by davido (Cardinal)
on Mar 01, 2015 at 22:11 UTC ( #1118325=note: print w/replies, xml ) Need Help??


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

Can you demonstrate some sample, representative data, please?


Dave

  • Comment on Re: Easiest way to brute force generate all combinations of items within a hash?

Replies are listed 'Best First'.
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
    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=>}, );

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2019-06-18 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (81 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!