igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: betweenness and degree correlation


From: Tamas Nepusz
Subject: Re: [igraph] Re: betweenness and degree correlation
Date: Thu, 23 Jul 2009 16:23:45 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

> 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




reply via email to

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