Random Graph Generation in Perl

by erich on December 12, 2008

If you ever find yourself needing to generate random graphs in Perl (quite the ice breaker, I can tell you), I recommend checking out Matt Spear’s Graph::Maker, which has generators for everything from Erdos-Renyi and Watts-Strogatz to Lollipop graphs. The only downside is the use of Graph which is s-l-o-w for graphs of even moderate size, so makes using it directly for simulations of Social Networks out.

Watts Strogatz Network from Wikipedia

[Image from Wikipedia]

  • Twitter
  • Facebook
  • del.icio.us
  • Digg
  • Technorati
  • email
  • FriendFeed

Leave a Comment

Previous post:

Next post: