igraph-help
[Top][All Lists]
Advanced

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

[igraph] fastgreedy.community fails on Zachary karate club data set


From: Liang Wang
Subject: [igraph] fastgreedy.community fails on Zachary karate club data set
Date: Tue, 25 Jan 2011 17:23:23 -0800 (PST)

Hi,
 
When I ran fastgreedy.community algorithm on the Karate data set,  I got an error message, as shown below. What am I doing wrong here?
 
Thanks a lot for your help.
Liang
 
> G  <- read.graph('./krate0.txt',format="edgelist",directed="FALSE")
> G
Vertices: 34
Edges: 154
Directed: FALSE
Edges:
[0]    0 --  1
[1]    0 --  2
[2]    0 --  3
[3]    0 --  4
....
[150] 29 -- 33
[151] 30 -- 33
[152] 31 -- 33
[153] 32 -- 33
 
> fc <- fastgreedy.community(G)
Error in fastgreedy.community(G) :
  At fast_community.c:540 : fast-greedy community finding works only on simple graphs, Invalid value

 


reply via email to

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