is.chordal craches

Bug #1132837 reported by Gábor Csárdi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Confirmed
Undecided
Gábor Csárdi

Bug Description

library(igraph)
randomGraph <- function (p, n) {

  adjacencyMatrix <- matrix (nrow = n, ncol = n)
  diag(adjacencyMatrix) <- rep(0,n)

  for (i in 1:(n-1))
    for (j in (i+1):n)
      adjacencyMatrix[i,j] <- adjacencyMatrix[j,i] <- rbinom(1, 1, p)

  return(graph.adjacency (adjacencyMatrix, mode = "undirected"))

}

g <- randomGraph (p = 0.5, n = 6)
is.chordal(g)

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/471

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.