|
MalariaSentinel — C++ reference
The contract-defining headers of the ABM engine
|
#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 |
One species' row of the species: section: habitat affinities, daily activity, host preference and the tolerances that shape its range.
| std::array<double, 4> mal_abm_fast::SpeciesRow::activity_weights {} |
v2 extension (plan v2 §1): behavioural physiological block.
[DAY, EVENING, NIGHT, DAWN] Σ=1
| 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.<name>.host_seeking_radius_m). A different concept from host_seeking.detect_range_m, the engine's kernel detection radius.
| 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).
| 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.
| 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).
| 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).
| 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).
| std::array<double, kNumZoneId> mal_abm_fast::SpeciesRow::weights {} |
name→ZoneId pre-transform