Skip to content

All the code developed for the Computational Intelligence course held by Professor Giovanni Squillero at Politecnico di Torino.

Notifications You must be signed in to change notification settings

leonardo-pieraccioli/computational-intelligence

Repository files navigation

Information about the repository

Code developed for the Computational Intelligence course held by Professor Giovanni Squillero at Politecnico di Torino.

Laboratory 0: Set covering

I implemented an A* search to find the solution with the least amount of sets possible. The heuristic function is the number of uncovered elements. The cost function is the number of sets used.

Halloween Challenge

A challenge on single state methods proposed by Squillero for the Halloween weekend. The summary contains a few of the information that are found in the more complete notebook.

Laboratory 2: Nim

Not completed before the deadline

I completed the lab after the deadline, in preparation for the exam. The code is in the post-deadline branch of this repository.

Laboratory 9: Genetic Algorithms

Done in collaboration with @giovanni-violo

Wrote a local-search algorithm using Evolutionary Programming able to solve the Problem instances 1, 2, 5, and 10 on a 1000-loci genomes, using a minimum number of fitness calls.

Laboratory 10: TicTacToe with reinforcement learning

Not completed before the deadline

Quixo Project

The exam final project. I developed a Minmax solution with alpha beta pruning for the game Quixo. The project contains a report with a description of the algorithm, the evaluation function, the pruning and the results of the tests. The game can be played in the terminal. The project was developed in Python 3.11.5 and tested on Windows 11 using the Poetry package manager. The project should work on any OS and Python 3.8+ but this has not been tested.

About

All the code developed for the Computational Intelligence course held by Professor Giovanni Squillero at Politecnico di Torino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published