bigraphs_rewiring: Generate bipartite graphs with different degree heterogeneity...

Description Usage Examples

View source: R/graphs_algorithms.R

Description

1) start from a regular bipartite graph. 2) repeat rewiring a link to a new species who has more neighbors than the old species until failed for enough times. 3) return to step 2)

Usage

1

Examples

1
2
biGraph <- BiGraph$new(type = 'bipartite_regular', n1 = 10, k = 4, is_adj = FALSE)
graphs <- bigraphs_rewiring(biGraph$get_graph(is_adj = FALSE))

keepsimpler/StabEco documentation built on May 20, 2019, 8:45 a.m.