Use a Levy Flight to Find Stonehenge in England
Use so‐called Levy flights, which are optimal for searching, to find Stonehenge within England.
Get the polygon of England and the coordinates of Stonehenge.
Assuming Stonehenge is visible from a distance of 2 km, define a predicate that tests whether Stonehenge can be seen from a given location.
Starting from the Big Ben, carry out a Levy walk until Stonehenge comes into sight.
Show the search path.
Out[4]= | |