probabilityOfHelping

open fun probabilityOfHelping(toHelp: HeterogeneousPedestrianModel<T, S, A>, isGroupMember: Boolean): Double

Value between 0 and 1 representing the probability this pedestrian will help another pedestrian in difficulty.

Parameters

toHelp

The pedestrian who needs help.