Source code online books for professionals by professionals


Breadth-first search (BFS)



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

Breadth-first search (BFS). Traversing a graph (possibly a tree) level by level, thereby also identifying (unweighted) 
shortest path. Implemented by using a FIFO queue to keep track of discovered nodes. Running time Q(n+m).  
(See Listing 5-9.)
Bucket sort. Sort numerical values that are evenly (uniformly) distributed in a given interval by dividing the interval 
into n equal-sized buckets and placing the values in them. Expected bucket size is constant, so they can be sorted with 
(for example) insertion sort. Total running time Q(n). (See Chapter 4.)


Appendix B 

 List of proBLems And ALgorithms
263
Busacker–Gowen. Finds the cheapest max-flow (or the cheapest flow with a given flow value) in a network by using 
the cheapest augmenting paths in the Ford–Fulkerson approach. These paths are found using Bellman–Ford or (with 
some weight adjustments) Dijkstra’s algorithm. The running time in general depends on the maximum flow value and 
so is pseudopolynomial. For a maximum flow of k, the running time is (assuming Dijkstra’s algorithm is used)  
O(km lg n). (See Listing 10-5.)

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   231   232   233   234   235   236   237   238   ...   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