IDS graph search Algorithm

preview_player
Показать описание
Iterative deepening search(IDS) algorithm with visual example(find node G as goal) representation
Рекомендации по теме
Комментарии
Автор

A good and best expanation ever under 3 minutes

shannish
Автор

best music so calm and so relaxing explanation. Many thanks!

trakis
Автор

To me this seems to be exactly like BFS?

TheLunkan
Автор

Steps:
1. Add root to frontier

2. If frontier is empty then increment depth limit and do steps again

3. Pop out deepest node from frontier and add it to the explored set

4. Find all child nodes from selected node and add them to the frontier, except nodes with depth limit or repetitive nodes that are in the explored or frontier sets

5. Check if new nodes include the target node:
5.1 If true: return the path
5.2 Else: repeat steps 2 to 5

radajaaj
Автор

What is the benefit for IDFS? seems like a lot of duplicate traversal?

llxllxzj
Автор

@skrozbox how can you have just subscribers your content is amazing but people are just trash they prefer looking dumb things thanks for vid

metehan