pub(super) fn reactive_hunting_zone(
    observed_cells: PyObject,
    managed_cells: PyObject,
    zone: u8,
    inverted: Option<bool>,
    threshold: Option<u32>
) -> SystemWrapper
Expand description

Reactively assign hunting zone identifiers

Parameters:

observed_cells - a callback passed x and y coordinates and indicated whether the cell is part of the observed area

managed_cells - a callback passed x and y coordinates and indicated whether the cell is part of the managed area

zone - the numeric zone identifier assigned to cells in the managed area if the ASF epidemic reaches the observed area

inverted - indicates whether the number of infected/infectious must be greator or equals or less than the threshold

threshold - how many infected animals or infectious carcasses need to be present before the zone is triggered