Source code online books for professionals by professionals



Download 4,67 Mb.
Pdf ko'rish
bet237/266
Sana31.12.2021
Hajmi4,67 Mb.
#213682
1   ...   233   234   235   236   237   238   239   240   ...   266
Bog'liq
2 5296731884800181221

DAG shortest path. Finds the shortest path from one node to all others in a DAG. Works by finding a topological 
sorting of the nodes and then relaxing all out-edges (or, alternatively, all in-edges) at every node from left to right. Can 
(because of the lack of cycles) also be used to find longest paths. Running time Q(n+m). (See Listing 8-4.)
Depth-first search (DFS). Traversing a graph (possibly a tree) by going in depth and then backtracking. Implemented 
by using a LIFO queue to keep track of discovered nodes. By keeping track of discover- and finish-times, DFS can 
also be used as a subroutine in other algorithms (such as topological sorting or Kosaraju’s algorithm). Running time 
Q(n+m). (See Listings 5-4, 5-5, and 5-6.)

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   233   234   235   236   237   238   239   240   ...   266




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish