Skip to main content
. 2024 Oct 8;89(5):50. doi: 10.1007/s00285-024-02144-2

Algorithm 3.

Algorithm 3

Model 2. The algorithm is embedded in Alg. 1, line 7. Parameter: branching probability pba, resource consumption R, elongation speed v, weights w1,2,3, external gradient ϕ, resource threshold rmin, start resource r0Agent Attributes: resource r , if agent is tip s (boolean), start point xs, end point xe, length l.