a slime mould finds the shortest path by flow, not by following a gradient. conductivity on each edge rises where flux is high, decays where it isn't. the network that survives contains the shortest path.