althurayya/althurayya.github.io

Panel for Naval Routes

Opened this issue · 0 comments

Let's add another panel for working with naval routes.

  1. Switching into this panes will highlight ports and all the naval routes that connect them.
  2. After we sort ports and naval routes (other issues), we add them to our network algorithm, into which we also add another option With naval travel (algorithm for path finding will be the same as for the shortest route, but in this case we run it on the entire network that includes the naval routes; in our old case of shortest routes, we run it on the network without naval routes).
  3. In order to make naval routes more attractive for the dijkstra algorithm, we can temporarily modify their length, so that paths through them become shorter.