'Added ex2 for Prolog;'

This commit is contained in:
Arkadiusz Hypki 2024-04-22 13:40:57 +02:00
parent 028724325d
commit 92f695e60c
3 changed files with 5 additions and 0 deletions

Binary file not shown.

5
06_prolog/ex2-roads/desc Normal file
View File

@ -0,0 +1,5 @@
Parse the file Zarzadzenie_GD_nr_32_z_dnia_2022-12-27.pdf by extracting the connections between the cities (e.g. copy&paste from pdf, pinch of regex, mix for a few minutes). Create facts for Prolog and do the exercises:
1. Find any path from Suwałki to Jelenia Góra
2. Find all paths between Szczecin and Przemyśl and find the shortest one