The project required implementing a couple of algorithms in Prolog.
The tasks that needed to be completed:
- implementing a counting sort
- implementation of a predicate that checks whether a list forms a sequence
- implementing a predicate that checks whether a given graph is consistent
Projekt wymagał zaimplementowania paru algorytmów w języku Prolog.
Zadania, które należało wykonać:
- zaimplementowanie counting sort'a
- implementacja predykatu sprawdzającego czy dana lista tworzy ciąg graficzny
- zaimplementowanie predykatu, który sprawdza czy podany graf jest spójny