Source code online books for professionals by professionals



Download 4,67 Mb.
Pdf ko'rish
bet225/266
Sana31.12.2021
Hajmi4,67 Mb.
#213682
1   ...   221   222   223   224   225   226   227   228   ...   266
Bog'liq
2 5296731884800181221

The halting problem. Determine whether a given algorithm will terminate with a given input. The problem is 
undecidable (that is, unsolvable) in the general case (see Chapter 11).
Hamilton cycles/paths and TSP … and Euler tours. Several path and subgraph problems can be solved efficiently. 
If, however, you want to visit every node exactly once, you’re in trouble. Any problem involving this constraint is 
NP-hard, including finding a Hamilton cycle (visit every node once and return), a Hamilton path (visit every node 
once, without returning), or a shortest tour of a complete graph (the Traveling Salesman/Salesrep problem). The 
problems are NP-hard both for the directed and undirected case (see Chapter 11). The related problem of visiting 
every edge exactly once, though—finding a so-called Euler tour—is solvable in polynomial time (see Chapter 5). The 
TSP problem is NP-hard even for special cases such as using Euclidean distances in the plane, but it can be efficiently 
approximated to within a factor of 1.5 for this case, and for any other metric distance. Approximating the TSP problem 
in general, though, is NP-hard. (See Chapter 11 for more information.)

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   221   222   223   224   225   226   227   228   ...   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