Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: removing the goto

by BrowserUk (Patriarch)
on Jun 03, 2007 at 04:08 UTC ( [id://618959]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    print "\nActual frequencies:";
    printf "$_ : %.1f\n", $chosen{ $_ } / ($ITERS * $PICKS) * 100
        for sort{ $chosen{ $a } <=> $chosen{ $b } } keys %chosen;
    
  2. or download this
    C:\test>618798 -ITERS=1e4 -PICKS=1
    Required frequencies
    ...
    D : 12.4
    E : 25.3
    F : 51.1
    
  3. or download this
    C:\test>618798 -ITERS=1e4 -PICKS=2
    Required frequencies
    ...
    D : 15.4
    E : 29.5
    F : 40.8
    
  4. or download this
    C:\test>618798 -ITERS=1e4 -PICKS=3
    Required frequencies
    ...
    D : 21.6
    E : 24.0
    F : 24.9
    
  5. or download this
    C:\test>618798 -ITERS=1e4 -PICKS=6
    Required frequencies
    ...
    C : 16.7
    E : 16.7
    B : 16.7
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-25 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found