igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] vertex_comb=NULL in contract_vertices() – is this okay?


From: Szabolcs Horvát
Subject: Re: [igraph] vertex_comb=NULL in contract_vertices() – is this okay?
Date: Mon, 19 Sep 2016 15:23:55 +0200

Actually I don't fully understand this function.

The signature is:

int igraph_contract_vertices(igraph_t *graph,
    const igraph_vector_t *mapping,
    const igraph_attribute_combination_t *vertex_comb);

'graph' is the input graph.  Where is the new graph returned?

On 19 September 2016 at 15:17, Szabolcs Horvát <address@hidden> wrote:
> Hello everyone,
>
> Quick question about contract_vertices():
>
> http://igraph.org/c/doc/igraph-Structural.html#igraph_contract_vertices
>
> I don't have attributes.  Can I just pass vertex_comb=NULL?
>
> Szabolcs



reply via email to

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