igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] exponential graph


From: Csardi Gabor
Subject: Re: [igraph] exponential graph
Date: Wed, 10 Sep 2008 15:18:10 +0200
User-agent: Mutt/1.5.9i

Amit, what is the preferential attachment=1.5? 

To generate connected undirected graphs with an arbitrary 
degree distribution use degree.sequence.game with method="vl".

E.g.

degs <- sample(1:100, 100, replace=TRUE, prob=(1:100)^-2)
g <- degree.sequence.game(degs, method="vl")

Gabor

On Wed, Sep 10, 2008 at 01:47:43PM +0100, Amit Kumar wrote:
> Hello,
> Please guide me how to generate exponential degree distribution and then
> generate a exponential graph from this exponential degree distribution.
> Given that No of nodes=100 and preferential attachment=1.5.
> 
> regards
> Amit

> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help


-- 
Csardi Gabor <address@hidden>    MTA RMKI, ELTE TTK




reply via email to

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