[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] random graph in C
From: |
giuseppe de marco |
Subject: |
[igraph] random graph in C |
Date: |
Tue, 21 Oct 2008 10:19:51 +0900 |
User-agent: |
Thunderbird 2.0.0.17 (X11/20080914) |
HI.
I would like to generate a power-law random graph , with varying
exponent, but in C not in R.
I saw that there is igraph_barabasi_game function, but I do not know how
to set the attractive parameter .
In fact, in the growing graph model of Dorogovstev the probability of
incoming edges at each time step is:
P(k) = A + k^alpha
and
for large time-step
P(k) ~ k^(-gamma)
where
gamma = 2 + A/m.
So, if I could control A and m I could control gamma.
where
--
Giuseppe De Marco, PhD
Toyota Technological Institute
468-8511 Aichi 2-12-1 Hisakata, Tenpaku-ku,
Nagoya, Japan
Email: demarco at toyota-ti dot ac dot jp
Tel (int): +81 (052)-809-1802
Skype-Id: giuseppe_dem2
- [igraph] random graph in C,
giuseppe de marco <=