Function swifco_rs::systems::management::hunting::event_hunting
source · [−]pub(super) fn 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
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