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

#include <config.hpp>

Public Attributes

std::vector< std::string > types
 frozen order (py API)
std::map< std::string, std::string > dynamics
 persistent | pluvial
size_t num_persistent = 0
 DERIVED at load.
std::array< bool, kNumZoneId > persistent_zone {}
double activation_min_engine = 0.0
double candidate_min_engine = 0.0

Detailed Description

Habitat configuration. The loader fills two instances of it: the habitat_types: section (the habitat taxonomy and the persistent vs. pluvial dynamics of each type) and the habitat: section (the engine-side activation and candidate thresholds).

Member Data Documentation

◆ activation_min_engine

double mal_abm_fast::HabitatCfg::activation_min_engine = 0.0

Habitat-accuracy index S above which a cell counts as a live (activated) patch; below it the cell counts as habitat-dry and its aquatic cohorts desiccate (habitat.activation_min_engine).

◆ candidate_min_engine

double mal_abm_fast::HabitatCfg::candidate_min_engine = 0.0

Minimum habitat potential S a cell must reach to become a candidate patch at all — the union of the coordinator's candidate filter and the habitat engine's feature floor (habitat.candidate_min_engine). Distinct from ingest.candidate_min_ingest, which the ingest census applies instead.

◆ persistent_zone

std::array<bool, kNumZoneId> mal_abm_fast::HabitatCfg::persistent_zone {}

ZoneId→dynamics==persistent


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