11#ifndef FAUNA_PARAMETERS_H
12#define FAUNA_PARAMETERS_H
118 bool is_valid(std::string& messages)
const;
Basic classes encapsulating forage amounts & fractions.
ForageDistributionAlgorithm
Parameter for selecting algorithm for forage distribution among herbivores.
Definition: parameters.h:22
@ Equally
Equal forage distribution: Fauna::DistributeForageEqually.
OutputInterval
Time interval for aggregating output.
Definition: parameters.h:37
@ Monthly
Aggregate output for each month.
@ Decadal
Aggregate output for 10 years intervals.
@ Annual
Aggregate output for each year.
@ Daily
Don’t aggregate output over time, but write every day.
OutputFormat
Parameter for selecting the output writer implementation.
Definition: parameters.h:49
@ TextTables
Use class Output::TextTableWriter.
HerbivoreType
Definition: parameters.h:29
@ Cohort
Use class HerbivoreCohort.
Options for Fauna::Output::TextTableWriter.
Definition: text_table_writer_options.h:25
Parameters for the herbivory module.
Definition: parameters.h:65
ForageDistributionAlgorithm forage_distribution
Algorithm for how to distribute available forage among herbivores.
Definition: parameters.h:68
int herbivore_establish_interval
Days between establishment check for herbivores.
Definition: parameters.h:82
Output::TextTableWriterOptions output_text_tables
Definition: parameters.h:110
ForageEnergyContent forage_gross_energy
Gross energy content for forage types [MJ/kgDM].
Definition: parameters.h:78
HerbivoreType herbivore_type
Which kind of herbivore class to use.
Definition: parameters.h:85
OutputInterval output_interval
Time interval for aggregating output.
Definition: parameters.h:106
OutputFormat output_format
The module that writes megafauna output to disk.
Definition: parameters.h:103
bool one_hft_per_habitat
Whether to allow only herbivores of one HFT in each habitat.
Definition: parameters.h:98
bool is_valid() const
Check if the parameters are valid.
Definition: parameters.h:122
Options for Fauna::Output::TextTableWriter.