This repository cointains the code for exercise 3.9 from the 2nd edition of AIMA, Russel-Norvig book. It is a part of the first problem set of the AI course (COMP417) at Technical University of Crete, Chania.
BFS is used for searching the state space, since it is small and this algorithm is optimal.
Python version used: 3.7.4 (64-bit).
Run the simulation with the command: $ python3 missionaries_and_cannibals.py