Adobe PDF (205.49 kB)
Title Details:
Exercise 6: Autoexecutable Goals, assert/retract and Operators
Authors: Sgarbas, Kyriakos
Description:
Abstract:
In this exercise, the most advanced features of the Prolog language are presented, namely auto-executable goals, the functions assert/1, retract/1 and their variants (asserta/1, assertz/1, assertn/2, retractall/1) for creating and managing dynamic events and rules, as well as creating and using user-defined operators with the op/3 function.
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/13277
Bibliographic Reference: Sgarbas, K. (2024). Exercise 6: Autoexecutable Goals, assert/retract and Operators [Chapter]. In Sgarbas, K. 2024. Artificial Intelligence Laboratory Exercises with the Prolog Language [Laboratory Guide]. Kallipos, Open Academic Editions. https://hdl.handle.net/11419/13277
Language: Greek
Is Part of: Artificial Intelligence Laboratory Exercises with the Prolog Language
Publication Origin: Kallipos, Open Academic Editions