|
|
# Direction strategies
|
|
|
|
|
|
The desired direction of a pedestrian is defined following different algorithms:
|
|
|
In the section of the chosen model the direction strategy should be specified as follows:
|
|
|
|
|
|
```xml
|
|
|
<exit_crossing_strategy>num</exit_crossing_strategy>
|
|
|
```
|
|
|
|
|
|
with *num* a positive integer.
|
|
|
|
|
|
The majority of the strategies define how a pedestrian crosses a line $L = [P_1, P_2]$. Possible values are:
|
|
|
|
|
|
1. The direction of the pedestrian is towards the middle of $L$ ($\frac{P_1+P2}{2}$)
|
|
|
2. The direction is given by the nearest point on $L$ to the position of the pedestrian.
|
|
|
3. Same as 2, only the line $L$ is shorten by 20 cm.
|
|
|
4. If the nearest point of the pedestrian on the segment line $L$ is outside the segment, then chose the middle point as target.
|
|
|
Otherwise the nearest point is chosen.
|
|
|
5. This strategy is still beta. It assumes that the simulation scenario has no loops or U-shaped corridors.
|
|
|
Pedestrians, are targets towards the exit, even if it is outside their visibility range. In case of intersection with walls or bstacles, the temporary direction is rotaions away from the wall.
|
|
|
6. This strategy does use a floor field rather than heading towards a point on a line segment. For more details see [Graf2015][#Graf2015].
|
|
|
|
|
|
Most of the aforementioned strategies were discussed in [Chraibi2011][#Chraibi2011].
|
|
|
|
|
|
|
|
|
|
|
|
[#Graf2015]: https://owncloud.zam.kfa-juelich.de/index.php/s/MomKWVu6mFvnrSf "Automated Routing in Pedestrian Dynamics Master thesis, Fachhochschule Aachen, 2015"
|
|
|
|
|
|
|
|
|
[#Chraibi2011]: http://aimsciences.org/journals/displayPaper.jsp?paperID=6440 "Chraibi el al. Force-based models of pedestrian dynamics. Pages: 425 - 442, Volume 6, Issue 3, September 2011"
|
|
|
|