Skip to content

This repo contains different search algorithms(BFS, DFS, UCS, DLS, IDS, BS) implemented from scratch in python.

License

Notifications You must be signed in to change notification settings

sobhanshukueian/Solving-Porblems-By-Searching-BFS-DFS-UCS-DLS-IDS-BS-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solving-Porblems-By-Searching-BFS-DFS-UCS-DLS-IDS-BS-

In artificial intelligence, problems can be solved by using searching algorithms, evolutionary computations, knowledge representations, etc.

This Repo contains implementation of different search algorithms in python:

BFS

Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts at the tree root and explores all nodes at the present depth prior to moving on to the nodes at the next depth level. Extra memory, usually a queue, is needed to keep track of the child nodes that were encountered but not yet explored.

Animated_BFS

More About BFS

DFS

Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking.

Depth-First-Search

More About DFS

DLS

You can check out this repository for the DLS implementation used to solve the river crossing problem: DLS Implementation

ToDo

Implementation of below algorithms:

  • BFS
  • UCS
  • DFS
  • DLS
  • IDS
  • BS

About

This repo contains different search algorithms(BFS, DFS, UCS, DLS, IDS, BS) implemented from scratch in python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published