|
From: | simone gabbriellini |
Subject: | Re: [igraph] Solved erdos_renyi vs from file |
Date: | Thu, 25 Jun 2009 19:17:01 +0200 |
Hi Tamas, Of course you're right! :) Can you please also help me translate this r sintax?g.sw=rewire.edges(graph.lattice(vcount(g), nei=mean(degree(g)), dir=TRUE, mutual=TRUE), p=0.25)
Many thanks, Simone Inviato da iPhoneIl giorno 25/giu/2009, alle ore 18.45, Tamas Nepusz <address@hidden> ha scritto:
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.Got my answer I did this: G = igraph.GraphBase.Erdos_Renyi() Instead of: G = igraph.Graph.Erdos_Renyi()-- Tamas _______________________________________________ igraph-help mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |