igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Solved erdos_renyi vs from file


From: Tamas Nepusz
Subject: Re: [igraph] Solved erdos_renyi vs from file
Date: Thu, 25 Jun 2009 17:45:05 +0100

Got my answer
I did this:
G = igraph.GraphBase.Erdos_Renyi()
Instead of:
G = igraph.Graph.Erdos_Renyi()
A simple rule of thumb is: don't use GraphBase unless you really know what you're doing ;) igraph.Graph is derived from igraph.GraphBase. igraph.GraphBase is a simpler class that does not contain many convenience functions that igraph.Graph does.

--
Tamas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]