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) })

Try the igraph package in your browser

Any scripts or data that you put into this service are public.

igraph documentation built on Aug. 10, 2023, 9:08 a.m.