My phone has an app that I can use to obtain driving directi…

My phone has an app that I can use to obtain driving directions.  As I travel, updated driving directions are given to me, and if I veer off the route, new directions are calculated so that I am presented with a new/best route to take. This app uses which of the following forms of artificial intelligence?