Floyd's Algorithm for Shortest Paths(플로이드 알고리즘)
·
Algorithms/Dynamic Programming
Basic ConceptA common problem encountered by air travelers is the determination of the shortest way to fly from one city to another when a direct flight does not exist. Next we develop an algorithm that solves this and similar problems. First, let’s informally review some graph theory. Prerequisite Knowledge: Graph Theoryvertex, node: 정점edge, arc: 이음선directed graph, digraph: 방향 그래프weight: 가중치sim..