Skip to content

Code and projects developed in the PLOG subject throughout the semester (MIEIC 3rd year, 1st semester).

Notifications You must be signed in to change notification settings

EduRibeiro00/PharmacyDeliveryRouting-feup-plog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLOG Class Assignments and Projects

2019/2020 - 3rd Year, 1st Semester

Course: Programação em Lógica (PLOG) | Logic Programming

Projects developed by: Diogo Machado (diogosmac) and Eduardo Ribeiro (EduRibeiro00)


Project 1: 7th Guest Infection (Board Game)

  • CLI application for a board game named 7th Guest: Infection. The full game rules can be found here: https://boardgamegeek.com/boardgame/284017/7th-guest-infection;
  • Developed a full game with menu, difficulty selection, etc. Allows Human v Human, Human vs Computer and Computer vs Computer.
  • Languages/technologies used: Prolog.

Grade: 18.8 / 20


Project 2: Pharmacy Delivery Routing

  • CLI application for a "distribution company" that calculates the best routes for delivery trucks that need to go to certain pharmacies to deliver goods;
  • Each pharmacy needs a different product quantity and also has a set schedule in which it is available to receive the deliveries. For these deliveries, the company has delivery trucks (a finite amount), and each truck has a specific capacity. Each truck leaves the company HQ to deliver the products to a set of pharmacies, and then returns to the central. Furthermore, the locations of the pharmacies and the central are known, as well as the distance/time between each pair of locations;
  • The problem is an instance of the Vehicle Routing Problem with Time Windows (VRP-TW); the goal is to generate the schedule of the distribution company, while minimizing both the number of trucks used and the overall distance traveled by the trucks.
  • Languages/technologies used: Prolog (and its clpfd restrictions library).

Grade: 19.7 / 20


Disclaimer - This repository was used for educational purposes and we do not take any responsibility for anything related to its content. You are free to use any code or algorithm you find, but do so at your own risk.

About

Code and projects developed in the PLOG subject throughout the semester (MIEIC 3rd year, 1st semester).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages