11#ifndef FAUNA_SIMULATION_UNIT_H
12#define FAUNA_SIMULATION_UNIT_H
Abstract class of a homogenous spatial unit populated by herbivores.
Definition: habitat.h:29
A habitat with the herbivores that live in it.
Definition: simulation_unit.h:27
PopulationList & get_populations()
The herbivores that live in the habitat.
Definition: simulation_unit.cpp:87
bool is_initial_establishment_done() const
Whether the flag for initial establishment has been set.
Definition: simulation_unit.h:68
Output::CombinedData get_output() const
Get combined output from habitat and herbivores together.
Definition: simulation_unit.cpp:59
void set_initial_establishment_done()
Set the flag that initial establishment has been performed.
Definition: simulation_unit.h:73
bool initial_establishment_done
Definition: simulation_unit.h:77
std::shared_ptr< Habitat > habitat
Definition: simulation_unit.h:76
Habitat & get_habitat()
The habitat where the populations live.
Definition: simulation_unit.cpp:39
std::unique_ptr< PopulationList > populations
Definition: simulation_unit.h:78
~SimulationUnit()
Default Destructor.
std::vector< std::shared_ptr< PopulationInterface > > PopulationList
Definition: population_list.h:21
A list of herbivore populations in a habitat.
Output data for herbivores and habitat(s).
Definition: combined_data.h:26