![]() | ![]() | ![]() | delete-instance | ![]() |
| [Generic Function] |
Purpose
Delete a unit instance.
Method signatures
( 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 | |
deleted-unit-instance | The deleted unit-instance object, whose
class has been changed to a |
Returns
The deleted instance
Events
A delete-instance-event
is signaled at the start of the
deletion process and an instance-deleted-event
unlink-event
instance-removed-from-space-instance-event
Description
If nil
, the generic function
See also
*skip-deleted-unit-instance-class-change*
delete-all-space-instances
delete-blackboard-repository
delete-space-instance
deleted-instance-class
deleted-unit-instance
make-instance
reset-gbbopen
reset-unit-class
Example
Create, then delete, a hyp
unit instance:
> (delete-instance (make-instance 'hyp :location '(896 388) :belief .68)) #<deleted-unit-instance hyp 311> >
The GBBopen Project
![]() | ![]() | ![]() | delete-instance | ![]() |