Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.76 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.76 KB

📬 Il problema del postino di campagna: ricerca in ampiezza

OCaml project for Artificial Intelligent Systems - Intelligent Application Development exam.

📝 Table of contents

📚 Description

The goal of this project is to create a program that allows you to find, given a graph G with V vertices and E arcs to which a length is associated, a closed circuit or path that starts from a specific vertex defined by the user. This closed path must also verify certain properties:

  • it contains all the arcs of the subset E
  • it has a total length less than an integer K.

A BFS search is used to find the circuit, furthermore it is assumed that graph G is an indirect graph.

👨‍💻 How to use

Most of the information on how the code works can be found in the report "Relazione_postino", where you can also see some examples of graphs used in tests.

⚙️ Setup

To run this project, you can both download OCaml from original website or you can use [TryOCaml] where you can try this language in an interactive mode without downloading nothing. If you prefer to use locally then you have run this command to compile it:

ocamlc -o postino.exe postino.ml 
.\postino.exe

💻 Technologies

Project is created with:

⚖️ License

This project is licensed under the MIT License - see the LICENSE.md file for details