YAP 7.1.0
The Blackboard

YAP implements a blackboard in the style of the SICStus Prolog blackboard. More...

Detailed Description

YAP implements a blackboard in the style of the SICStus Prolog blackboard.

The blackboard uses the same underlying mechanism as the internal data-base but has several important differences:


Class Documentation

◆ bb_put/2

class bb_put/2

bb_put(+ Key,? Term)

Store term table Term in the blackboard under key Key If a previous term was stored under key Key it is simply forgotten

◆ bb_get/2

class bb_get/2

bb_get(+ Key,? Term)

Unify Term with a term stored in the blackboard under key Key, or fail silently if no such term exists

◆ bb_delete/2

class bb_delete/2

bb_delete(+ Key,? Term)

Delete any term stored in the blackboard under key Key and unify it with Term Fail silently if no such term exists

◆ bb_update/3

class bb_update/3

bb_update( +_Key_, ?_Term_, ?_New_)

zAtomically  unify a term stored in the blackboard under key  _Key_

with Term, and if the unification succeeds replace it by New Fail silently if no such term exists or if unification fails

Macro Definition Documentation

◆ NULL

HeapUsed HeapTop FreeBlocks _expand_index _index_pred _or_last _retry_userc NOfAtoms WideAtomHashTableSize AtomUser AtomAttributes AtomChType AtomSystem AtomYapHacks AtomNb AtomDBLoad AtomError GFlags rv_void PredsInHashTable PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE PROLOG_MODULE _op_fail _Nstop TRUSTFAILCODE YESCODE false true false false NULL false INT_KEYS_DEFAULT_SIZE INT_KEYS_DEFAULT_SIZE OpListAdjust NULL NULL SWI_Functors AtomTranslations false false NULL true NULL MaxFunctorTranslations MaxEmptyWakeups NULL   (void *)0

Definition at line 48 of file bb.c.

Function Documentation

◆ Yap_InitBBPreds()

void Yap_InitBBPreds ( void  )

Definition at line 433 of file bb.c.

Macros

#define NULL   (void *)0
 

Functions

void Yap_InitBBPreds (void)