igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Dose the index of vertices in a graph start from 0?


From: Minh Nguyen
Subject: Re: [igraph] Dose the index of vertices in a graph start from 0?
Date: Thu, 15 Sep 2011 18:27:35 +1000

Hi,

On Thu, Sep 15, 2011 at 6:23 PM, Zhijiang Wang
<address@hidden> wrote:
> Thanks!
> why is the 0-starting index is used?

In computer science, our indices start from zero. In mathematics,
indices start from one. Graph theory as treated by igraph is
considered computer science. And people who develop igraph are
computer scientists.


> 于 2011-9-15 16:19, Minh Nguyen 写道:
>
> Hi,
>
> 2011/9/15 Zhijiang Wang <address@hidden>:
>
> Dear all,
>
> I used the function maximal.cliques, and found the smallest index of
> vertices is 0.
> So, dose the index of vertices in a graph start from 0?
>
> Yes.

-- 
Regards
Minh Van Nguyen



reply via email to

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