Adobe PDF (251.36 kB)
Title Details:
Exercise 4: Recursion and Cut (!)
Authors: Sgarbas, Kyriakos
Description:
Abstract:
This exercise introduces the concept of recursion as an alternative way of performing iterations and controlling them with the Prolog cut (!) operator. The examples focus in calculating sums of integer sequences and routes on the road map of Exercise 2.
Linguistic Editors: Sarafidis, Michail
Technical Editors: Papadogonas, Ioannis
Type: Chapter
Creation Date: 02-05-2024
Item Details:
License: Attribution - NonCommercial - ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Handle http://hdl.handle.net/11419/13275
Bibliographic Reference: Sgarbas, K. (2024). Exercise 4: Recursion and Cut (!) [Chapter]. In Sgarbas, K. 2024. Artificial Intelligence Laboratory Exercises with the Prolog Language [Laboratory Guide]. Kallipos, Open Academic Editions. https://hdl.handle.net/11419/13275
Language: Greek
Is Part of: Artificial Intelligence Laboratory Exercises with the Prolog Language
Publication Origin: Kallipos, Open Academic Editions