igraph-help
[Top][All Lists]
Advanced

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

[igraph] MST


From: Vincent Matossian
Subject: [igraph] MST
Date: Sat, 25 Nov 2006 00:30:44 -0500


  Hi,

minimum.spanning.tree was giving me trouble on code such as

gsf=barabasi.game(100,directed=FALSE)
ngsf2=list()
E(gsf)$w=sample(1:20,ecount(gsf),replace=TRUE)
ng2=neighborhood(gsf,2)
 for(i in 1:length(ng2)){
 ngsf2[[i]]=minimum.spanning.tree(ng2[[i]],weights=E(ng2[[i]])$w)
 }

I noticed that the code in the working directory was short of one FINALLY cleanup of the stack. It all works well after that extra cleanup.

Just thought I'd let you know

Cheers,

vincent

reply via email to

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