add-instance-to-space-instance |
| [Generic Function] |
Purpose
Add a unit instance to a space instance.
Method signatures
( unit-instance standard-unit-instance)( space-instance-path cons) => unit-instance
|
( unit-instance standard-unit-instance)( space-instance standard-space-instance) => unit-instance
|
Package :gbbopen
Module :gbbopen-core
Arguments and values
unit-instance | The unit instance to be added | |
space-instance-or-path | The space instance or space-instance path to which the unit instance is to be added |
Returns
The supplied unit-instance
Events
An instance-added-to-space-instance-event
See also
define-unit-class
make-instance
make-space-instance
remove-instance-from-space-instance
Examples
Add a highly plausible hypothesis unit instance,
good-hyp
hyps
space instance:
> (add-instance-to-space-instance good-hyp (find-space-instance-by-path '(bb hyps))) #<hyp 419 (1835 4791) 0.85 [5..35]> >or
> (add-instance-to-space-instance good-hyp '(bb hyps)) #<hyp 419 (1835 4791) 0.85 [5..35]> >
The GBBopen Project
add-instance-to-space-instance |