Algorithms For Dummies


Presenting local search tricks



Download 7,18 Mb.
Pdf ko'rish
bet551/651
Sana15.07.2021
Hajmi7,18 Mb.
#120357
1   ...   547   548   549   550   551   552   553   554   ...   651
Bog'liq
Algorithms

Presenting local search tricks

Local search tracks the current solution and moves to neighboring solutions one 

at a time until it finds a solution (or can’t improve on the present solution). It 

presents some key advantages when working on NP-hard problems because it



 

»

Is simple to devise and execute



 

»

Uses little memory and computer resources (but searches require running 

time)

 

»

Finds acceptable or even good problem solutions when starting from a 

less-than-perfect solution (neighboring solutions should create a path to the 

final solution)




CHAPTER 18

  Performing Local Search 

     343


You can see the problems that a local search can solve as a graph of interconnected 

solutions. The algorithm traverses the graph, moving from node to node looking 

for the node that satisfies the task requirements. Using this perspective, a local 

search takes advantage of graph exploration algorithms such as depth-first search 

(DFS) or breadth-first search (BFS), both discussed in Chapter 9.

Local search provides a viable way to find acceptable solutions to NP-hard prob-

lems. However, it can’t work properly without the right heuristic. Randomization 

can provide a good match with local search, and it helps by using




Download 7,18 Mb.

Do'stlaringiz bilan baham:
1   ...   547   548   549   550   551   552   553   554   ...   651




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2025
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