Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Bag uniform distribution algorithms

by hdb (Prior)
on Apr 26, 2013 at 09:16 UTC ( #1030796=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
        return $metric/@series;
  2. or download this
    sub mix {
            my $bag = shift;
            my @str = sort { $bag->{$a} <=> $bag->{$b} } keys %$bag;
            return \@distribution;
  3. or download this
    sub evaluate {
            my $cand   = shift;
    evaluate( $candidates, $bags );
  4. or download this
                    Monk   Better:higher    Better:lower Result
                     hdb          222.75            0.44 ACBACBACBACBACBAC
                   kcott          224.75            0.44 ABCABCABCABCABCCB
                kennethk          222.75            0.44 CBACBACBACBACBACB

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-08-04 08:40 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (62 votes), past polls