Graph theory

In this example, in the picture, a container ship traveled across routes between Asia and Europe. This ship visited 11 countries.The countries are the nodes in this picture, and their travel ruts are the links.
    If we start from Singapore(sg) using the BFS algorithm, considering the alphabetical order of the name of nodes, the distances of Italy(it), France(fr), and Turkey(tr) are:
  • I) 5,4,2
  • II) 5,4,3
    Using the algorithm DFS the path from Grece(gr) to Italy(it) is:
  • III) gr-tr-eg-ae-it
  • IV) gr-eg-ae-it
  • V) gr-eg-fr-ae-it
  • A) I,IV
  • B)II,IV.
  • C)I,V
  • D) II,III
  • E) None of the above.

Original idea from: Rolan Alexander Valle Rey Sánchez. imagen modified from: Wang, Z., Claramunt, C., & Wang, Y. (2019). Extracting Global Shipping Networks from Massive Historical Automatic Identification System Sensor Data: A Bottom-Up Approach. Sensors (Basel, Switzerland), 19. http://dx.doi.org/10.3390/s19153363

Comments

  1. Interesting question, but I cannot take it. When you say, 'alphabetical order of the names of nodes', are you referring to the names inside the circles (e.g., Italy) or the names outside the circles (e.g., it)? Not clear. Also, please end with 'Original idea by: ' and your name.

    ReplyDelete

Post a Comment

Popular posts from this blog

Basic concepts

Scale-free networks

Barabási–Albert model