in reply to Re^3: Sub set where all are connected
in thread Sub set where all are connected

If you want bigger (and visualized) test data you can parse the SVG example inside the Clique_(graph_theory) WP page.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^5: Sub set where all are connected
by tybalt89 (Monsignor) on Nov 23, 2019 at 20:53 UTC

    Looks OK

    1 2 3 4 10 13 9 10 8 9 11 12 13 9 13 14 14 15 14 21 15 16 17 15 17 19 17 18 19 18 19 20 18 19 21 19 21 22 20 23 21 22 23 23 4 4 5 5 6 7 5 7 8
      Yes but how much longer did it take with 23 points instead of 9?

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        9 points: Sat Nov 23 14:20:54 2019 completed. (0.02 secs.)

        23 points: Sat Nov 23 14:19:03 2019 completed. (0.43 secs.)

Re^5: Sub set where all are connected
by bliako (Abbot) on Nov 23, 2019 at 20:43 UTC
    parse the SVG example

    It just reminded me of an exam at university. It read thus:

    Under your desk there is a red telephone.
    Pick it up and dial 0.
    Shout: "Товарищи, я хочу начать термоядерную войну."
    Shout once more: "Товарищи, я хочу начать термоядерную войну."
    Hang up and rush to the University's bunker.
    Study the environment and atmosphere and report on the next 24, 48 and 72 hours.
    

    Or something like this, :) bw, bliako

      I must say, you've been at a weird university.

      Anyway tybalt89 is очень хорошо с регексом. (... Or в регексе?)

      So parsing some SVG to get points and edges is просто для его.

      But thanks, I'll certainly profit from this new vocabulary next time I have to ask где туалет...

      ;)

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        On that tangent, I explored the fallout shelters at my University—nearby the National Weapon Laboratories so a first strike target—a few times. There were barrels and barrels stacked to the ceiling and down long halls that said “Water” and “Crackers” or something like that. I walked along them one night rapping them with knuckles. They were all empty. :P Still, we probably could have survived on underclassmen and TAs for months.