Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の問題のアルゴリズムを検索しています。有向加重グラフが与えられた場合、 の平均加重が最大になるようなGツリーTを見つけます。GT
G
T
与えられたグラフ G
エッジを昇順で並べ替えます (最初に最小の重み)
上端をカット(重量が最も小さいもの)
孤立した頂点をカット
今は木ですか?
はい: 手順 6 に進みます
いいえ: ステップ 3 に進みます
リターンG