我正在尝试为相对较大的网络调用shortest_paths()函数(IGRAPH DN-- 13679 76741 - )。 出乎意料的是,我收到了以下错误:
"断言失败:q-> stor_begin!= 0,文件 c:\ dev \ igraph \ igraph-0.6.5-msvc \ src \ dqueue.pmt,第284行
此应用程序已请求运行时将其终止 不寻常的方式请联系应用程序的支持团队获取更多信息 信息。 "
这个错误意味着什么?
g = Graph.Read_Ncol('file.edgelist')
g.delete_vertices(g.vs.select(_degree=0))
g.vs["color"] = "Green"
summary(g)
t = time.time()
g.shortest_paths()
print time.time() - t