| Algorithm 1 Tracking of pedestrian–object relation in a zone of control | |
|
Input: The trajectory with the latest position of a pedestrian agent , the current relation with respect to the function object , the location and the zones of the object , and is the intent classifier. Output: The updated behavior class | |
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
: # pedestrian left the ZOC of the object return if Unknown: passing-by if : if approaching and : # entered engaged locations engaged engaged and : # left engaged locations passing-by else: # changed intent passing-by : if: approaching return |