Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Finding subgraphs induced by a set of given vertices.

by zing (Beadle)
on Oct 04, 2012 at 01:10 UTC ( #997155=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $triplet ( @S ){
            my %Pie;
            undef @Pie{@$QT};
            delete @Pie{ @$triplet };
            print "@$triplet\n" if keys(%Pie) <= ( @$QT - @$triplet ) ;
    
  2. or download this
    sub induced {
    my (@z)=@_;
    ...
    component 2 = e d
    component 1 = c a b
    b c a
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-10-22 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls