module Meta: sig
.. end
Modifies a given topology.
Examples (not all implemented):
create holes, cut links, reache second order neighbours, add a weight on links, add long links...
Creates an array whose cell i contains the (index of) the cells of the spheres centered on the neighbours of i.
val neighbours_dist2 : int array array -> int array array
Returns the sphere (not ball) of radius 2 centered on each cell
module Sphere_radius_2:
module type Parameters = sig
.. end
module Shuffle_neighbours:
val remove_elements : Random.State.t -> float -> 'a list -> 'a list
remove_elements prng proba list
remove some elements list
, each with probability proba
module Cut_links: