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

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2017-05-01 07:20 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (545 votes). Check out past polls.