Source code online books for professionals by professionals



Download 4,67 Mb.
Pdf ko'rish
bet201/266
Sana31.12.2021
Hajmi4,67 Mb.
#213682
1   ...   197   198   199   200   201   202   203   204   ...   266
Bog'liq
2 5296731884800181221

a NeVereNDING StOrY
there’s more to this story. there’s actually so much more to this story, you wouldn’t believe it. Complexity theory 
is a field of its own, with tons of results, not to mention complexity classes. (For a glimpse of the diversity of 
classes that are being studied, you could visit the Complexity Zoo, 
https://complexityzoo.uwaterloo.ca
.)
one of the formative examples of the field is a problem that is much harder than the np-complete ones: alan 
turing’s halting problem (mentioned in Chapter 4). It simply asks you to determine whether a given algorithm 
will terminate with a given input. to see why this is actually impossible, imagine you have a function 
halt
 that 
takes a function and an input as its parameters so that 
halt(A, X)
 will return true if 
A(X)
 terminates and false 
otherwise. now, consider the following function:
 
def trouble(A):
    while halt(A, A): pass
 
the call 
halt(A, A)
 determines whether 
A
 halts when applied to itself. still comfortable with this? What happens 
if you evaluate 
trouble(trouble)
? basically, if it halts, it doesn’t, and if it doesn’t, it does … We have a paradox 
(or a contradiction), meaning that 
halt
 cannot possibly exist. the halting problem is undecidable. In other words, 
solving it is impossible.
but you think impossible is hard? as a great boxer once said, impossible is nothing. there is, in fact, such a thing 
as highly undecidable, or “very impossible.” For an entertaining introduction to these things, I recommend david 
harel’s Computers Ltd: What They Really Can’t Do.

Download 4,67 Mb.

Do'stlaringiz bilan baham:
1   ...   197   198   199   200   201   202   203   204   ...   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