gets the term which is stored with a certain key in a blackboard.
Blackboards are collections of (Key,Value) tuples. bb_get/3 allows to inspect the tuples of a blackboard.
Board blackboard Key ground term Term term
Assume there exists a blackboard 'blackboard' with elements (100, abc), (101, element101), (102, abc).
| bb_get(blackboard,102, abc). | Succeeds. |
| bb_get(blackboard, 100, X). | Succeeds with substitution X <- abc |
| bb_get(blackboard, Key, abc). | Succeeds twice with substitution
Key <- 100 Key <- 102 |
| bb_get(blackboard, Key, Term). | Succeeds three times with substitution
X <- abc X <- element101 X <- abc |
This predicate is not part of the ISO-Prolog Standard.
| scroll to top |
|