Algorithms For Dummies



Download 7,18 Mb.
Pdf ko'rish
bet97/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   93   94   95   96   97   98   99   100   ...   651
Bog'liq
Algorithms

 

»

A * search: The algorithm tracks the cost of nodes as it explores them using 

the equation: f(n) = g(n) + h(n), where



• 

n is the node identifier.



• 

g(n) is the cost of reaching the node so far.



• 

h(n) is the estimated cost to reach the goal from the node.



• 

f(n) is the estimated cost of the path from n to the goal.

The idea is to search the most promising paths first and avoid expensive 

paths.


 

»

Greedy best-first search: The algorithm always chooses the path that is 

closest to the goal using the equation: f(n) = h(n). This particular algorithm can 

find solutions quite quickly, but it can also get stuck in loops, so many people 

don’t consider it an optimal approach to finding a solution.




Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   93   94   95   96   97   98   99   100   ...   651




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