![]() | ![]() | ![]() | delete-instance | ![]() |
|
| unit-instance => unit-instance | [Generic Function] |
Purpose
Delete a unit instance.
Method signatures
(deleted-unit-instance deleted-unit-instance)
=> deleted-unit-instance
|
(unit-instance standard-unit-instance)
=> deleted-unit-instance
|
(space-instance standard-space-instance)
=> deleted-unit-instance
|
Package :gbbopen
Module :gbbopen-core
Arguments and values
| unit-instance | The unit instance (or space instance) to be deleted |
Returns
The deleted instance deleted-unit-instance.
Events
A delete-instance-event is signaled at the start of the
deletion process and an instance-deleted-event is
signaled when the deletion has been completed. The following events
may also be signaled:
unlink-event
remove-instance-from-space-instance-event
Description
Deleting a deleted-unit-instance has no effect.
See also
delete-all-space-instances
delete-blackboard-repository
delete-space-instance
make-instance
reset-gbbopen
reset-unit-class
Example
Create, then delete, then delete again, a hyp unit instance:
> (delete-instance (make-instance 'hyp :location '(896 388) :belief .68)) #<deleted-unit-instance hyp 311> > (delete-instance *) #<deleted-unit-instance hyp 311> >
The GBBopen Project
![]() | ![]() | ![]() | delete-instance | ![]() |