Attributes of "TargetChanger" object, used by "TargetChangerController" during simulation.
- FOLLOW_PERSON: Interpret first item of #nextTarget as pedestrian id and use this pedestrian as the new target. In case of groups follow the leader. Fallback behaviour if neither works: Set target list of pedestrian to #nextTarget. Only first element of #probabilityToChangeTarget will be used.
- SELECT_LIST: Set the complete list of #nextTarget as the new target list of pedestrian. #probabilityToChangeTarget must have 1 element only.
- SELECT_ELEMENT: Select *one* element of #nextTarget as the new target of the pedestrian. If #probabilityToChangeTarget is empty one element of #nextTarget will be selected with a uniform distribution. If the length of #probabilityToChangeTarget matches with #nextTarget use the relative select element based on relative probability given by #probabilityToChangeTarget. nextTarget = [1, 2, 3] E.g. If @probabilitiesToChangeTarget = [ 10, 20, 10 ] then the new target list will be [1] in 25% of the cases, [2] in 50% and [3] in 25%.
- SORTED_SUB_LIST: The length of #nextTarget and @link #probabilityToChangeTarget} must match. For each element in #nextTarget a bernoulli sample is drawn based on the given parameters in #probabilityToChangeTarget with the same index. If the draw is successful add the element to the new target list and repeat for all elements in #nextTarget