powered by
sample_islands(islands.n, islands.size, islands.pin, n.inter)
sample_gnp
g <- sample_islands(3, 10, 5/10, 1) oc <- cluster_optimal(g) oc
Run the code above in your browser using DataLab