[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Re: betweenness and degree correlation
From: |
Yong Zou |
Subject: |
Re: [igraph] Re: betweenness and degree correlation |
Date: |
Thu, 23 Jul 2009 18:06:26 +0200 |
Thanks a lot, Tamas.
I got it.
Best,
Yong
On Thu, Jul 23, 2009 at 5:23 PM, Tamas Nepusz<address@hidden> wrote:
>> Is it right if I write like:
>> igraph_assortativity_degree(&graph, &res, igraph_vss_all(),
>> IGRAPH_ALL, IGRAPH_LOOPS);
> It should be simply:
>
> igraph_assortativity_degree(&graph, &res, 0);
>
> As a test, generate a large graph according to the Barabasi-Albert model
> (100000 vertices with 1 outgoing edge for each vertex will do). Its
> assortativity should be close to zero.
>
> You can also take a look at examples/simple/assortativity.c
>
> --
> Tamas
>