Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-09-03 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls