Similar Items: Population dynamics of generalist and specialist strategies under feast-famine cycles