![]() | ![]() | ![]() | describe-instance | ![]() |
| unit-instance | [Generic Function] |
Purpose
Describe a unit instance (or a
space instance, as a unit instance).
Method signatures
( unit-instance standard-unit-instance)
&optional stream |
Package :gbbopen
Module :gbbopen-core
Arguments and values
unit-instance | A unit instance (or space instance) | |
stream | A stream (default is *standard-output* |
Description
The description is printed to the output stream.
See also
describe-instance-slot-value
describe-space-instance
describe-space-instance-storage
make-instance
make-space-instance
Example
Describe the hyp
unit instance:
> (describe-instance hyp) Hyp #<hyp 419 (1835 4791) 0.85 [5..35]> Instance name: 419 Space instances: ((bb hyps)) Dimensional values: belief: 0.85 classification: (:car :truck) color: :red velocity-range: (5 35) x: 1835 y: 4791 Non-link slots: belief: 0.85 classification: (:car :truck) color: :red location: (1835 4791) velocity-range: (5 35) Link slots: supported-hyps: nil supporting-hyps: (#<hyp 183 (1835 4791) 0.82 [0..35]> #<hyp 233 (1835 4791) 0.89 [5..35]>) Space instances: (#<standard-space-instance (bb hyps)>) >
REPL Note
Describe-instance can be invoked using the REPL command:
:di instance | {instance-name [unit-classes-specifier]}which also sets
=
to the described unit instance.
The GBBopen Project
![]() | ![]() | ![]() | describe-instance | ![]() |