Artificially Intelligent Foraging