time_group("paths")
time_that(desc = "redwalk polbooks", replications = 100,
init = { library("redwalk"); data(polbooks); g <- polbooks },
code = {
all_shortest_paths_uwud_fast(g)
}
)
time_that(desc = "igraph polbooks", replications = 100,
init = { library("redwalk"); data(polbooks); g <- polbooks },
code = {
distances(g, weights = NA, algorithm = "unweighted")
}
)
time_that(desc = "redwalk polblogs", replications = 20,
init = { library("redwalk"); data(polblogs); g <- polblogs },
code = {
all_shortest_paths_uwud_fast(g)
}
)
time_that(desc = "igraph polblogs", replications = 20,
init = { library("redwalk"); data(polblogs); g <- polblogs },
code = {
distances(g, weights = NA, algorithm = "unweighted")
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.