Compare timings of different sort heaps for a given input graph.
Source:R/compare-heaps.R
compare_heaps.Rd
Perform timing comparison between different kinds of heaps as well as with
equivalent routines from the igraph package. To do this, a random
sub-graph containing a defined number of vertices is first selected.
Alternatively, this random sub-graph can be pre-generated with the
dodgr_sample
function and passed directly.
Value
Result of bench::mark
comparison.
See also
Other misc:
dodgr_flowmap()
,
dodgr_full_cycles()
,
dodgr_fundamental_cycles()
,
dodgr_insert_vertex()
,
dodgr_sample()
,
dodgr_sflines_to_poly()
,
dodgr_vertices()
,
merge_directed_graph()
,
summary.dodgr_dists_categorical()
,
write_dodgr_wt_profile()
Examples
graph <- weight_streetnet (hampi)
if (FALSE) { # \dontrun{
compare_heaps (graph, nverts = 1000, replications = 1)
} # }