Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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]
NodeReaper puts the hammer down

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-02-28 00:05 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (393 votes). Check out past polls.