This repository contains Python implementations of two foundational search techniques in Artificial Intelligence:
- Generate-And-Test Algorithm
- Hill Climbing Algorithm
These algorithms are used to explore and solve optimization problems effectively by navigating a search space.
-
Generate-And-Test:
- Explores all possible solutions and tests them to find the correct or optimal one.
-
Hill Climbing:
- Iteratively improves the solution by moving to a better neighboring state until a local optimum is reached.
-
Generate-And-Test:
- Finds the correct solution from a set of possibilities, such as solving a puzzle or identifying a valid combination.
-
Hill Climbing:
- Solves optimization problems like finding the shortest path, maximizing utility, or other similar scenarios.
- Python 3.7 or later
- No additional libraries are required for basic functionality.
- The algorithms are implemented in Python for educational purposes.
- Hill Climbing may terminate at a local optimum depending on the problem space.