lgca.interactions.random_walk

lgca.interactions.random_walk(lgca)

Apply a random walk to all nodes.

Parameters:

lgca (LGCA) – Lattice gas cellular automaton instance.

Returns:

Notes

The lgca object is modified in place. This interaction does not use lgca.interaction_params.