inst/benchmarks/correlated.R

time_group("correlated E-R graphs, v1")

time_that("sample_correlated_gnp is fast", replications=10,
          init={ library(igraph) },
          { sample_correlated_gnp_pair(100, corr=.8, p=5/100) })
igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.