osmose.engine.processes.movement

Movement process functions for the OSMOSE Python engine.

Functions

build_random_patches(config, grid, rng)

Build BFS-connected patches for species with random distribution + ncell constraint.

movement(state, grid, config, step, rng[, ...])

Move all schools according to their species' movement method.

random_walk(state, grid, walk_range, rng)

Move schools by random displacement within walk_range cells.