I have a (geographic) map built up of polygons depicting land and a boat trying to get from A to B without hitting any of the land. Preferably, it should follow the shortest available path.
I have an algorithm that works most of the time, but it is rather clumsy and inefficient. Any hints or references to algorithms that I could use are greatly appreciated.