Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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

by zing (Beadle)
on Oct 06, 2012 at 08:24 UTC ( #997598=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    perl -le '@x = qw(a b c d e f);
                @y = qw(a d f);
                print "Count of elements in (@y) that are NOT present in (
    +@x) = $n"
    Count of elements in (a d f) that are NOT present in (a b c d e f) = 0
  2. or download this
    b c a
    e f g
    g d f
    h i g
  3. or download this
    a b c
    a b d c
    e f d g
  4. or download this
    component 1 = a b c
    induced = b c a
    component 3 = e f d g
    induced = e f g
    g d f 

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997598]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-04-21 10:17 GMT
Find Nodes?
    Voting Booth?