Question: QuACN and igraph: Error: .validateGraph(g) is not TRUE
1
21 months ago by
lljotall10
lljotall10 wrote:

Hello,

I want to calculate the Wiener index of a graph that is stored in igraph format. Although, I'm getting the same error as in the following example:

library('igraph')
library('QuACN')

m = matrix(c(0,1,0,0,0, 1,0,0,0,0, 0,1,0,0,1, 0,0,0,0,1, 0,0,0,1,0), ncol = 5, nrow = 5)
gNEL = igraph.to.graphNEL(g)
wiener(gNEL)
Error: .validateGraph(g) is not TRUE

Any ideas on what is causing the error?

igraph quacn • 670 views
written 21 months ago by lljotall10

Could some one please answer? I am also getting the same error