Algorithms For Dummies



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

 

»

Bidirectional search: This technique searches simultaneously from the root 

node and the goal node until the two search paths meet in the middle. An 

advantage of this approach is that it’s time efficient because it finds the 

solution faster than many other brute-force solutions. In addition, it uses 

memory more efficiently than other approaches and always finds a solution. 

The main disadvantage is complexity of implementation, translating into a 

longer development cycle.



CHAPTER 2

  Considering Algorithm Design 

     35


Using a heuristic and a cost function

For some people, the word heuristic just sounds complicated. It would be just as 

easy to say that the algorithm makes an educated guess and then tries again when 

it fails. Unlike brute-force methods, heuristic algorithms learn. They also use cost 

functions  to  make  better  choices.  Consequently,  heuristic  algorithms  are  more 

complex, but they have a distinct advantage in solving complex problems. As with 

brute-force algorithms, there are many heuristic algorithms and each comes with 

its own set of advantages, disadvantages, and special requirements. The following 

list describes a few of the most common heuristic algorithms:


Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   91   92   93   94   95   96   97   98   ...   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