igraph-help
[Top][All Lists]
Advanced

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

[igraph] Re: betweenness and degree correlation


From: Yong Zou
Subject: [igraph] Re: betweenness and degree correlation
Date: Thu, 23 Jul 2009 16:47:54 +0200

Thanks a lot for your prompt reply, Tamas,

Before trying the other method, let me show the error messages for 0.6. :-)

I still have problems when install this:
drl_layout.cpp:27:24: error: drl_layout.h: No such file or directory
drl_layout.cpp:28:23: error: drl_parse.h: No such file or directory
drl_layout.cpp:29:23: error: drl_graph.h: No such file or directory
drl_layout.cpp:36: error: ‘drl’ is not a namespace-name
drl_layout.cpp:36: error: expected namespace-name before ‘;’ token
drl_layout.cpp: In function ‘int igraph_layout_drl(const igraph_t*,
igraph_matrix_t*, igraph_bool_t, igraph_layout_drl_options_t*, const
igraph_vector_t*, const igraph_vector_bool_t*)’:
drl_layout.cpp:420: error: ‘graph’ is not a member of ‘drl’
drl_layout.cpp:420: error: expected `;' before ‘neighbors’
drl_layout.cpp:421: error: ‘neighbors’ was not declared in this scope
make[3]: *** [libigraph_la-drl_layout.lo] Error 1

I'll try the other way you suggested.

Best,
Yong


On Thu, Jul 23, 2009 at 4:40 PM, Tamas Nepusz<address@hidden> wrote:
> Hi Yong,
>
>> I find it is quite hard for me to write the python code back to C. Can
>> you please help me to do that? In particular how to define source and
>> target from my edge list?
> Construct an edge iterator that iterates over all edges:
>
> igraph_eit_t eit;
> igraph_integer_t source, target;
>
> igraph_eit_create(&graph, igraph_ess_all(), &eit);
> while (!IGRAPH_EIT_END(eit)) {
>  long int edgeID = IGRAPH_EIT_GET(eit);
>  igraph_edge(&g, edgeID, &source, &target);
>  /* Now source and target contains the source and target vertex IDs for
>   * edge #edgeID */
>
>  /* Do whatever you want here */
>
>  IGRAPH_EIT_NEXT(eit);
> }
> igraph_eit_destroy(&eit);
>
>> It seems that I can't install 0.6 on my computer. Here is a short
>> piece of error message. Furthermore, I couldn't find the
>> assortativity.c in src.
> It should be src/mixing.c, not src/assortativity.c
>
>> foreign.c:2735:31: error: foreign-dl-header.h: No such file or directory
> Hmm, this is a private header file. It looks like it was somehow left
> out from the tarball. Please find the missing file in the attachment --
> this should be enough to compile 0.6. The file should be placed in src/.
> Please let me know if it doesn't work.
>
> --
> Tamas
>




reply via email to

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