Function swifco_rs::systems::management::carcasses::event_carcass_removal
source · [−]pub(super) fn event_carcass_removal(
buffer: u16,
delay: u32,
events: PyObject,
store_all_candidates: Option<bool>
) -> SystemWrapper
Expand description
Carcass removal driven by a given set of events i.e. t, x and y coordinates of hunted animals
Parameters:
buffer - a carcass 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