[Lemon-user] Erdos-Renyi random graph and a directed scale free

Kovács Péter kpeter at inf.elte.hu
Thu May 25 16:57:38 CEST 2017


Hi All,

I answered this question previously, but let me repeat the answer here.

Such generators were written for LEMON a few years ago. They are not 
part of the library yet, but you can access them here:
http://lime.cs.elte.hu/~kpeter/hg/hgwebdir.cgi/lemon-generators/file/tip/src/graph_generators.h

You can generate Erdos-Renyi and Barabasi-Albert (scale free) random 
undirected graphs with these methods. Feel free to use them. Any 
feedback or contribution is welcome.

Regards,
Péter


> No idea whether you can do this in Lemon, but you can certainly do this
> in jgrapht if this cannot be done in Lemon:
> http://jgrapht.org/javadoc/org/jgrapht/generate/GnpRandomGraphGenerator.html
>
> Joris Kinable
>
> On Wed, Feb 15, 2017 at 2:26 AM, Vipin P. Veetil <vipin.veetil at gmail.com
> <mailto:vipin.veetil at gmail.com>> wrote:
>
>     Dear friends,
>
>     I hope you are well. I am using Lemon for an economics related project.
>
>     Is there a library within Lemon using which I can generate an
>     Erdos-Renyi random graph and a directed scale free graph given
>     parameters?
>
>     Thanks,
>
>     Vipin
>
>     _______________________________________________
>     Lemon-user mailing list
>     Lemon-user at lemon.cs.elte.hu <mailto:Lemon-user at lemon.cs.elte.hu>
>     http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>     <http://lemon.cs.elte.hu/mailman/listinfo/lemon-user>
>
>
>
>
> _______________________________________________
> Lemon-user mailing list
> Lemon-user at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
>



More information about the Lemon-user mailing list