MalariaSentinel — C++ reference
The contract-defining headers of the ABM engine
Loading...
Searching...
No Matches
mal_abm_fast::SpeciesRow Struct Reference

#include <config.hpp>

Public Attributes

std::string name
std::array< double, kNumZoneId > weights {}
std::array< double, 4 > activity_weights {}
 v2 extension (plan v2 §1): behavioural physiological block.
std::array< double, 5 > pref {}
 HostType order (human, cattle,.
double salinity_opt_ppt = 0.0
double salinity_hi_tol_ppt = 0.0
double salinity_slope = 0.0
double host_seeking_scale_m = 0.0
double host_seeking_radius_m = 0.0

Detailed Description

One species' row of the species: section: habitat affinities, daily activity, host preference and the tolerances that shape its range.

Member Data Documentation

◆ activity_weights

std::array<double, 4> mal_abm_fast::SpeciesRow::activity_weights {}

v2 extension (plan v2 §1): behavioural physiological block.

[DAY, EVENING, NIGHT, DAWN] Σ=1

◆ host_seeking_radius_m

double mal_abm_fast::SpeciesRow::host_seeking_radius_m = 0.0

Radius (m) of the host-seeking attraction field: beyond it a host exerts no attraction at all (species.&lt;name&gt;.host_seeking_radius_m). A different concept from host_seeking.detect_range_m, the engine's kernel detection radius.

◆ host_seeking_scale_m

double mal_abm_fast::SpeciesRow::host_seeking_scale_m = 0.0

Decay length (m) of the host-seeking attraction plume, i.e. how fast the attraction of a host falls off with distance (species.<name>.host_seeking_scale_m).

◆ name

std::string mal_abm_fast::SpeciesRow::name

Species key as written in the YAML (the map key under species:); the canonical display name is resolved elsewhere.

◆ salinity_hi_tol_ppt

double mal_abm_fast::SpeciesRow::salinity_hi_tol_ppt = 0.0

Salinity (psu) above which the species cannot breed at all — the suitability multiplier is hard-capped to 0 there (species.<name>.salinity_hi_tol_ppt).

◆ salinity_opt_ppt

double mal_abm_fast::SpeciesRow::salinity_opt_ppt = 0.0

Salinity (psu) at which the species' breeding-suitability multiplier equals 1 (species.<name>.salinity_opt_ppt).

◆ salinity_slope

double mal_abm_fast::SpeciesRow::salinity_slope = 0.0

Rate (1/psu) at which the breeding-suitability multiplier decays as the salinity rises above the optimum (species.<name>.salinity_slope).

◆ weights

std::array<double, kNumZoneId> mal_abm_fast::SpeciesRow::weights {}

name→ZoneId pre-transform


The documentation for this struct was generated from the following file:
  • mal-core/src/mal_core/abm/include/mal_abm_fast/config.hpp