igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] number of nodes


From: Gábor Csárdi
Subject: Re: [igraph] number of nodes
Date: Wed, 25 Nov 2009 08:28:19 +0100

Obviously, you are doing something wrong. What is 'graph'?

Gabor

On Wed, Nov 25, 2009 at 3:31 AM, Roberto Pagliari <address@hidden> wrote:
> if I type
> printf("number of nodes: %d\n", igraph_vcount(graph));
> I get "Bus Error"
>
> On Tue, Nov 24, 2009 at 6:28 PM, Gang Su <address@hidden> wrote:
>>
>> If you are using R, then it's vcount()
>> if you are using C, it's igraph_vcount(*graph)
>>
>> Gang
>>
>> Roberto Pagliari wrote:
>>>
>>> I need to allocate a vector of the same size of the number of nodes, in
>>> order to use clustering functions. How do I call that function?
>>>
>>> Thanks in advance
>>>
>>> On Tue, Nov 24, 2009 at 6:20 PM, zhengjun chen <zhjchen.sa
>>> <http://zhjchen.sa>@gmail.com <http://gmail.com>> wrote:
>>>
>>>    Hi,
>>>
>>>    The basic built in function summary() can help you get the number
>>>    of nodes of a graph.
>>>
>>>    On Tue, Nov 24, 2009 at 9:16 PM, Roberto Pagliari
>>>    <address@hidden <mailto:address@hidden>> wrote:
>>>
>>>        Hi All,
>>>        is available any built in function to get the number of nodes
>>>        of a graph?
>>>
>>>        Thanks
>>>
>>>        _______________________________________________
>>>        igraph-help mailing list
>>>       address@hidden <mailto:address@hidden>
>>>        http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>>
>>>
>>>
>>>    --    Thanks
>>>    zhengjun
>>>
>>>    Graduate research assistant
>>>    Dept of Computer Science and Engineering
>>>    Lehigh University
>>>
>>>    _______________________________________________
>>>    igraph-help mailing list
>>>   address@hidden <mailto:address@hidden>
>>>    http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>
>>
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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