pub(super) fn background_event_hunting(
    buffer: u16,
    delay: u32,
    events: PyObject,
    store_all_candidates: Option<bool>
) -> SystemWrapper
Expand description

Hunting driven by a given set of events i.e. t, x and y coordinates of hunted animals

Note that this system will not removing living animals, but rather mark animals which died due to normal hunting as died due to management, i.e. it will not introduce additional mortality into the model.

Parameters:

buffer - a hunted animal matches an event if they are within this distance of it w.r.t. the max-norm

delay - if no suitable candidate is available, events can be delayed by up to this number of ticks

events - a callback which is passed the current tick and expected to return a list of x-y coordinates

store_all_candidates - optionally attach all alternative candidates to the chosen entities for further analysis