Generalist vs. specialist: cognition and behavioral flexibility in Gambusia across habitats | Synapse