[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Using basic querry commands for Igraph
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Using basic querry commands for Igraph |
Date: |
Fri, 22 May 2009 14:18:25 +0200 |
Ketan, this is hard to answer if you don't show us what you did exactly.
Best,
Gabor
On Fri, May 22, 2009 at 1:51 PM, ketan bhardwaj <address@hidden> wrote:
> Hello all,
>
> This is what i am doing :
> Create a graph using
> igraph_read_graph_edgelist()
>
> and counting the number of edges using igraph_ecount() but getting zero.
>
> here are the contents of file i am using
> 0 1 0 2 0 3 0 4 0 5 1 2 2 1 2 3 3 2 2 4 4 2 3 4 4 3
>
> Here are the contents of the file which i get from
> igraph_write_graph_edgelist()
>
> 0 1
>
> 0 2
>
> 0 3
>
> 0 4
>
> 0 5
>
> 1 2
>
> 2 1
>
> 2 3
>
> 2 4
>
> 3 2
>
> 3 4
>
> 4 2
>
> 4 3
> i think this is exactly right but why am i not be able to get the number of
> vertices.? any help.
>
> regards
> ketan
> --
> To get a comprehensive view of my work Please visit
> http://ketanbj.googlepages.com
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> UNIL DGM