Naturally I zoned out going from QT to T :) I should have not used @S, I should have called it @Triplets, and I also glossed over the output (one match was missing, doh). In main loop should be
for my $one (@T) { my @matches = induced( \@S, $one );
In reply to Re^4: Finding subgraphs induced by a set of given vertices.
by Anonymous Monk
in thread Finding subgraphs induced by a set of given vertices.
by zing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |