[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] : multiple edges
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] : multiple edges |
Date: |
Sat, 15 Nov 2014 09:13:13 -0500 |
Hi, see an example here:
https://github.com/igraph/igraph/blob/master/examples/simple/cattributes4.c
You'll need to set IGRAPH_ATTRIBUTE_COMBINE_FIRST for 'weight', that
keeps the weight, assuming all weights of multiple edges between the
same pair are the same.
Gabor
On Thu, Nov 13, 2014 at 11:28 PM, patricia <address@hidden> wrote:
> Good night,
>
>
> I would like to use igraph_simplify () function to remove multiple edges of
> a graph, but I'm having doubts regarding the parameter
> igraph_attribute_combination_t const * edge_comb. Which values can be
> assigned to this parameter (edge_comb)? Associated to my graph, I also have
> positive numeric weights associated to the edges, in this case what should I
> do to use igraph_simplify () function?
>
>
>
>
>
> Thank you
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>