Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2017-06-24 21:48 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (562 votes). Check out past polls.