It allows an individual to sprout only if there are no other demes on the target level that have centroid within the given distance.
Arguments
- metric
Metric used for deme distance comparison (e.g. euclidean_distance, manhattan_distance)
- max_distances
numeric - maximum distance to a centroid of a deme on the target level that would allow the individual to sprout
Examples
sprouting_condition <- sc_max_metric(euclidean_distance, c(20, 10))