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

Re: Multiple Combinatorics

by davido (Archbishop)
on Apr 15, 2012 at 08:46 UTC ( #965142=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use strict;
    use warnings;
    print "Whew, that resulted in $count result-producing iterations!\n";
  2. or download this
    A B C 0 1
    A B C 0 2
    X Y Z 0 6
    X Y Z 3 6
    Whew, that resulted in 117000 result-producing iterations!
  3. or download this
            my %overlap;
            @overlap{@combo_B} = ();
            next INNER if first{ exists $overlap{$_} } @combo_A;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-10-24 05:44 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.