checks whether a term is member of the blackboard....
Move to
Next Prev
Up Top
See also
bb_clear/1
bb_clear/2
bb_contains/2
bb_contains_key/2
bb_create/1
bb_get/3
bb_get/4
bb_put/3
bb_put/4
bb_remove/2
bb_keys/2
bb_elements/2
bb_size/2
IF Computer > MINERVA > Manual > Reference > Predicates > Blackboards > bb_contains/2

bb_contains/2

checks whether a term is member of the blackboard.

bb_contains(+Board, ?Term)

Blackboards are collections of (Key,Value) tuples. bb_contains/2 allows to retrieve the Value part of the blackboard.

If Term is not a free variable then bb_contains succeeds if the blackboard Board contains Term as Value at least once.
If Term is a free variable then by backtracing bb_contains/2 lists in an unspecific order all terms which are elements of the blackboard Board.

Arguments

Board                  blackboard
Term                   term

Examples

Assume there exists a blackboard 'blackboard' with elements (100, abc), (101, element101), (102, abc).

bb_contains(blackboard,abc). Succeeds.
bb_contains(blackboard, X). Succeeds three times with substitution
X <- abc
X <- element101
X <- abc

Standard

This predicate is not part of the ISO-Prolog Standard.

See also

bb_clear/1, bb_clear_2/2, bb_create/1, bb_contains/2, bb_contains_key/2, bb_get/3, bb_get_4/4, bb_put/3, bb_put_4/4, bb_remove/2. bb_keys/2. bb_elements/2.

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/blackboard/bb_contains/home_en.html
published 2008/7/7 update 2001/2/7 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS