Тёмный

The Greedy Algorithm 

Sir JPagdilao Classroom
Подписаться 531
Просмотров 12 тыс.
50% 1

Mathematics of Graphs: Finding Hamiltonian Circuit in a Weighted Graph
A method of finding a Hamiltonian circuit in a complete weighted graph is given by the following greedy algorithm:
• Choose a vertex to start at, then travel along the connected edge that has the smallest weight. (If two or more edges have the same weight, pick any one.)
• After arriving at the next vertex, travel along the edge of smallest weight that connects to a vertex not yet visited. Continue this process until you have visited all vertices.
• Return to the starting vertex.
The greedy algorithm attempts to give a circuit of minimal total weight, although it does not always succeed.

Опубликовано:

 

28 фев 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@toniii_
@toniii_ 2 года назад
Thank you, Sir! You've helped me in my college work sheet :)
@shandyraquel3067
@shandyraquel3067 3 месяца назад
hello po i think the correct answer would be home> post office > grocery > bank > video rental store > home
@ShilpiBhargavaiitb
@ShilpiBhargavaiitb Год назад
But the Hamiltonian circuit is not an optimal path right, the optimal path will be given by the Shortest path problem.
Далее
The Edge-Picking Algorithm
9:59
Просмотров 12 тыс.
Greedy Algorithms Explained
17:48
Просмотров 100 тыс.
У тебя проблемы?
00:20
Просмотров 524 тыс.
شربت كل الماء؟ 🤣
00:31
Просмотров 12 млн
What is a Clique? | Graph Theory, Cliques
7:23
Просмотров 134 тыс.
Introduction to Greedy Algorithms
4:56
Просмотров 119 тыс.
Dijkstra's Shortest Path Algorithm | Graph Theory
24:47
A* Search
12:32
Просмотров 400 тыс.
12. Greedy Algorithms: Minimum Spanning Tree
1:22:10
Просмотров 222 тыс.