How a trail becomes a choice
Each ant leaving the nest chooses an available branch using a pheromone-weighted probability. Returning foragers reinforce the branch they used; the trail fades continuously.
PA = (1 − s) · (ε + τA)β / Σ + s/2
Here τ is the branch's effective pheromone level, β is trail sensitivity, s is the scout fraction, and ε prevents a zero-strength trail from becoming undefined. If a branch is blocked, its choice probability is zero.
dτi/dt = q ri − λτi ; λ = ln(2)/t1/2
The denominator Σ is the sum of both branch weights; q is the illustrative deposit per completed return and r is the rate of returns on branch i. The model uses a fixed 1/60 s update step (scaled) and applies exact exponential decay over each step, then adds discrete return deposits.
Ti = 2Li/v + th
Round-trip time depends on route length L, walking speed v, and a short illustrative handling delay th. The shorter branch can receive earlier reinforcement because its ants complete trips sooner.
What is simplified
- The two routes are represented by effective pheromone reservoirs, not a spatial chemical-diffusion field.
- Ants move at a constant selected speed; real gait, terrain, load, temperature and individual differences are omitted.
- Food is assumed available at the same endpoint on every completed trip. Recruitment, nest organisation and pheromone chemistry vary among species.
- Distances, behavioural parameters and time scaling are illustrative. This is a teaching model, not a prediction for a particular ant species.
An independent educational simulation; not affiliated with any research institution or ant-keeping product.