The timing of the switch from explore-to-exploit is density-dependent.
(A) The relative density (as estimated by fluorescently-labeled OP50-GFP) is shown for small (∼1.8 mm diameter) bacterial patches made by pipetting ∼0.5 µL droplets of OP50 E. coli diluted in LB to a range of optical densities (OD600 = {0, 0.05, 0.1, 0.5, 1, 2, 3, 4, 5, 10} and controlling growth time at room temperature (hours = {1, 12, 48}). For (A-G,L-O), gray-scale color saturation is proportional to the relative density of each condition and corresponds to labels in (A). (B) The mean velocities of animals foraging in environments containing patches matching one of the 12 bacterial densities are plotted as a function of the distance from the edge of bacterial patches (computed for 50 μm bins). (C) Animals’ average on-patch velocity is plotted as a function of the relative density of bacteria. Compared to animals foraging amongst bacteria-free patches containing only LB (relative density 0), animals foraging on bacterial patches with relative density of 0.5 or greater display significantly slower on-patch velocities (one-tailed Mann-Whitney U-Tests with Bonferroni Correction). (D) The midbody location (colored to represent time in the experiment) of example animals foraging in environments containing patches (gray) of relative density 0, 1, 5, 10, and 200 are shown. (E) The total time each animal spent on patch is plotted as a function of the relative density of bacteria. Time on patch increased monotonically with increasing bacterial density (Kendall’s τ correlation, p<0.001) following a sigmoidal trend. (F) Smoothed median values of the probability of worms residing on patch over time for each density condition are plotted. Time points where observed probabilities of residing on patch either match (pink) or significantly exceed (gray) the probability of residing on patch if patch locations were semi-randomly permuted are indicated (one-tailed Fisher’s exact test with Benjamini-Hochberg correction). (G) A KDE of the distribution of encounter durations is plotted for each density condition. (H) For each encounter, the average velocity of the animal during the encounter and the duration of that encounter are plotted on a double-logarithmic plot with color representing the probabilities of clustering classification as search (orange), sample (green), or exploit (blue). Contours showing the first, second, and third standard deviation of the GMM used to classify explore and exploit encounters are shown as shaded ellipses with saturation corresponding to standard deviation. KDEs for distributions of average on-patch velocity and encounter duration are plotted for each encounter type. (I) For each encounter, the minimum on-patch velocity and maximum change in velocity are plotted. Contours showing the separation of sensing and non-sensing encounters as estimated by semi-supervised QDA are indicated. A KDE for the distribution of the maximum change in velocity is plotted for each encounter type. (J) Features used to classify encounters as search, sample, or exploit are summarized. (K) KDEs of the distributions of animals’ velocities are shown for all timepoints during search off and on patch as well as during sample and exploit encounters. (L) Ethograms of patch encounters (colored to represent the probability of classification as search, sample, and exploit) are shown for 443 individuals. (M) The average proportion of each encounter type over time is plotted. (N) Time elapsed and (O) number of encounters occurring prior to the first exploitation event are plotted for every animal (blue). In the event that no exploitation event occurred, the maximum observed time and encounters are plotted (red-orange). Both time and encounter number before exploitation decrease monotonically with increasing patch density (Kendall’s τ correlation, p<0.001) following a sigmoidal trend. Summary data for all animals (N = 443 total worms; N = 20-50 worms per condition) and encounters (N = 6,560 total encounters; N = 46-876 encounters per condition) are shown in (A-C,E-I,K-O). Asterisks denote statistical significance (***p<0.001). See also Figure 2 – supplement 1-7 and Video 5-6.