Module Topology.Meta


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: 
functor (Topo : Types.Topology) ->
functor (Parameters : sig
end) -> sig .. end
module type Parameters = sig .. end
module Shuffle_neighbours: 
functor (Topo : Types.Topology) ->
functor (Parameters : Parameters) -> sig .. end
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: 
functor (Topo : Types.Topology) ->
functor (Params : Parameters) -> sig .. end