||instance ||[Generic Function]|
Print the value of the slot-name slot in instance or
[Unbound], if the slot is unbound.
Arguments and values
|instance||A standard-gbbopen-instance object|
|slot-name|| A non-|
|function||A function designator specifying a function object of one argument|
|no-space|| A generalized boolean (default is |
Unless no-space is true, a space character is printed to stream. Then the slot value in instance specified by slot-name is printed to stream, unless the slot is unbound, in which case
[Unbound] is printed to stream.
If the slot is bound and function is specifed, function is called with the slot value and the result is printed to stream rather than the slot value.
instances to include
belief slot values:
(defmethod print-instance-slots ((obj hyp) stream) (call-next-method) (print-instance-slot-value obj 'location stream) (print-instance-slot-value obj 'belief stream))
The GBBopen Project