Skip to content

Luchinzzz/postino_bfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¬ The country letter carrier's problem: research in breadth

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

πŸ“ Table of contents

πŸ“š Description

This project aims 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 download OCaml from the original website, or you can use [TryOCaml], where you can try this language in an interactive mode without downloading anything. 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

About

OCaml project for Artificial Intelligent Systems - Intelligent Application Development exam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages