11#ifndef FAUNA_FEED_HERBIVORES_H
12#define FAUNA_FEED_HERBIVORES_H
19class DistributeForage;
Function object to feed herbivores.
Definition: feed_herbivores.h:23
std::unique_ptr< DistributeForage > distribute_forage
Definition: feed_herbivores.h:54
void operator=(FeedHerbivores const &)=delete
Delete copy assignment because of pointer ownership.
FeedHerbivores(FeedHerbivores const &)=delete
Delete copy constructor because of pointer ownership.
void operator()(HabitatForage &available, const HerbivoreVector &herbivores) const
Feed the herbivores.
Definition: feed_herbivores.cpp:28
~FeedHerbivores()
Destructor.
Definition: feed_herbivores.cpp:26
All values for large herbivore forage in a Habitat.
Definition: habitat_forage.h:21
Type definitions of vectors of herbivore pointers.
std::vector< HerbivoreInterface * > HerbivoreVector
A list of herbivore interface pointers.
Definition: herbivore_vector.h:20
Interface for a forage distribution algorithm.
Definition: forage_distribution_algorithms.h:22