Effects of food quality and starvation on the optimal foraging behavior of Daphnia magna (Cladocera)