igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] ENC: Network Centralization Measure


From: Gábor Csárdi
Subject: Re: [igraph] ENC: Network Centralization Measure
Date: Mon, 12 Sep 2011 10:40:04 -0400

Please read the documentation at
http://igraph.sourceforge.net/doc/html/ch04s02s02.html#igraph_degree

and see also the examples/simple/igraph_degree.c file from the igraph
distribution.

Gabor

On Sun, Sep 11, 2011 at 2:29 PM, Carlos Eduardo <address@hidden> wrote:
> Hi Minh,
>
> Thanks for your answer. Allow me to ask a little bit more.
>
> I just begun my learning about how to use igraph and I am not familiarized
> with some command syntax.
>
> To the command "igraph_degree" is informed (igraph_degree(const igraph_t
> *graph, igraph_vector_t *res, const igraph_vs_t vids, igraph_neimode_t mode,
> igraph_bool_t loops).
>
> Being my graph name "g", in short I understood the syntax as follow:
> igraph_degree (g, res, vids, mode, loops).
>
> I don't know what to replace in the fields "res" and "vids".
>
> I tried the follow simplified commands (but they didn't work):
>
> igraph_degree(g)
> igraph_degree(g, IGRAPH_ALL, FALSE)
>
> Ps.: The network I am trying this command follows attached (rda format).
>
> All the best,
> Cadu
>
>
> -----Mensagem original-----
> De: Minh Nguyen [mailto:address@hidden Enviada em: domingo, 11 de
> setembro de 2011 06:08
> Para: Help for igraph users
> Cc: Carlos Eduardo
> Assunto: Re: [igraph] Network Centralization Measure
>
> Hi,
>
> On Sun, Sep 11, 2011 at 11:33 AM, Carlos Eduardo <address@hidden>
> wrote:
>> After calculating each vertex measures - (a) centralization degree,
>> (b) betweenness, (c) closeness - the software reports the network
>> centralization (in percentage - %) to each one of this measures.
>>
>> Is there any command or math formula to do this through "igraph"?
>
> Yes. Check out the documentation of version 0.5.4 of the igraph C library at
>
> http://igraph.sourceforge.net/doc/html/ch10s05.html
>
> The latest development version has library functions following the name
> igraph_centralization*.
>
> --
> Regards
> Minh Van Nguyen
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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