|
From: | Przemek Grabowicz |
Subject: | [igraph] Simplify sums up weights in dev version 0.6-1899 ? |
Date: | Thu, 13 May 2010 17:10:13 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0b1 Shredder/3.0.3pre |
Hi there,In stable version of igraph these commands transform graph with multiple edges into weighted graph:
E(g2)$weight<-count.multiple(g2) g2=simplify(g2)But not in igraph_nightly_0.6-1899-20100505. It's like this because new simplify() apart from removing multiple edges it also sums up weights of those edges and put them all into the edge left.
Is it intentional or a bug? How can I create weighted graph in dev version? Pms.
[Prev in Thread] | Current Thread | [Next in Thread] |