Skip to content
EntityQ1047576· pop 24· linked from 171 articles

ワーシャル-フロイド法

Sign in to save

Also known as Warshall–Floyd Algorithm

algorithm for finding all-pairs shortest paths in graphs, allowing some edge weights to be negative

Article · 日本語

ワーシャル–フロイド法(英: Floyd–Warshall Algorithm)は、重み付き有向グラフの全ペアの最短経路問題を多項式時間で解くアルゴリズムである。名称は考案者であるとロバート・フロイドにちなむ(2人はそれぞれ独立に考案)。フロイドのアルゴリズム、ワーシャルのアルゴリズム、フロイド–ワーシャル法とも呼ばれる。

Abstract from DBpedia / Wikipedia · CC BY-SA