== General comments ==
The description below fits a right turn in a [
https://wiki.waze.com/wiki/Right- hand%20traffic Right-hand traffic] country (e.g. not England). Left turns are symmetrical to right turns.
== Definitions ==
=== Special Considerations ===
*In some situations a [
https://wiki.waze.com/wiki/Junction_Style_Guide#Y_Intersections Y-Intersection] (where there are more than one segment leaving the junction node at less than a 45° angle), navigation to either segment will generate a 'KEEP RIGHT/LEFT" instruction, even if one of those would otherwise be the 'best continuation' and has a departure angle of 0° from s-in. This is also mentioned in the [ https://wiki.waze.com/wiki/Junction_Style_Guide#Wayfinder_Segments wayfinder section].*A segment (s1, s2, ...sN) leaving the juction which has the trun into it from s-in [ https://wiki.waze.com/wiki/Turn_restrictions#Turn_restrictions_.28allowed_turns.29 restricted] in [ https://wiki.waze.com/wiki/Waze_Map_Editor WME] will not be considered in this algorithm as a 'best continuation', even if it has a departure angle of 0° from s-in.http://i.imgur.com/TUEyvEZ.jpg
== The algorithm / list of conditions ==