We will describe some simple utilisations of the blackboard to implement efficiently some basic abstract data types.
They all use the saved/2
predicate instead of save_term/2
.
Saved/2
does
basically the same work but also makes a call to the blackboard garbage
collector if necessary. The reader can find the code in the file lib.pl
of the BinProlog distribution.