Skip to content

paolomorettin/FAI-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FAI-code

Python3 code for the Fundamentals of AI course lab.

Feel free to reuse / distribute / contribute.

Contributors:

Mattia Rigon (2024) - Added support for LRTA* with non-uniform action costs.

02 - Uninformed search algorithms

Extra required packages: matplotlib, networkx, numpy.

To run: python3 search.py.

04 - Local / online search algorithms

Extra required packages: matplotlib, networkx, numpy, seaborn.

To run Steepest Hill-climbing (other variants are commented out) on 2D grid problems, try: python3 hill_climbing.py.

To run the genetic seach algorithm on the Master Sandwitch problem, try: python3 hill_climbing.py.

To run or online A* (online DFS is commented) on maze problems, try: python3 online_search.py.

About

Code for the Fundamentals of AI course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages