![]() | ![]() | ![]() | describe-instance | ![]() |
|
| instance | [Generic Function] |
Purpose
Describe a unit instance (or a
space instance, as a unit instance).
Method signatures
(instance standard-unit-instance)
|
Package :gbbopen
Module :gbbopen-core
Arguments and values
| instance | A unit instance (or space instance) |
Description
The description is printed to the *standard-output* stream.
See also
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)>)
>
Note
Describe-instance can be invoked using the REPL command
:di, which also sets = to the described unit instance.
The GBBopen Project
![]() | ![]() | ![]() | describe-instance | ![]() |