pub fn stop_pursuing(
    dist_to_target_sqrd: f32,
    dist_to_home_sqrd: f32,
    own_health_fraction: f32,
    target_health_fraction: f32,
    dur_since_last_attacked: f64,
    psyche: &Psyche
) -> bool
Expand description

Calculates whether the agent should continue chase or let the target escape.

Will return true when score of letting target escape is higher then the score of continuing the pursue, false otherwise.