Source code online books for professionals by professionals



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

Bisection, binary search. A search procedure that works in a manner similar to search trees, by repeated halving the 
interval of interest in a sorted sequence. The halving is performed by inspecting the middle element and deciding 
whether the sought value must lie to the left or right. Running time Q(lg n). A very efficient implementation can be 
found in the bisect module. (See Chapter 6.)
Branch and bound. A general algorithmic design approach. Searches a space of solutions in a depth-first or  best-
first order by building and evaluating partial solutions. A conservative estimate is kept for the optimal value, while an 
optimistic estimate is computed for a partial solution. If the optimistic estimate is worse than the conservative one
the partial solution is not extended, and the algorithm backtracks. Often used to solve NP-hard problems. (See Listing 
11-2 for a branch-and-bound solution to the 0-1 knapsack problem.)

Download 4,67 Mb.

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