Skip to content

DOI

AI Gym

AI Gym is a teaching library for learning the foundations of Artificial Intelligence through search problems and agents.

DOI

The goal of this library is to provide a set of tools to help you to learn the basics of Artificial Intelligence. In other words, the goal of this library is to help you to learn how to build agents that solve problems by searching.

Available algorithms

  1. Breadth-first search
  2. Depth-first search
  3. Iterative deepening search
  4. Uniform-cost search
  5. Greedy search
  6. A* search
  7. MinMax adversarial search
  8. Hill climbing
  9. Stochastic hill climbing

All search algorithms share a common state interface, making it possible to reuse the same problem representation with compatible strategies.

Installation

pip install aigyminsper

Documentation

In this page you can find the documentation for the library, including how to use it, examples, and how to contribute to the project.

This library has a trace feature that allows you to visualize the search tree and the algorithm's progress. You can find more information about how to install and use the trace feature in the trace documentation.