ratingAgenda Control Shellrestart-control-shellrating-ofGoTo Top

rating-of   ksa => rating[Generic Accessor]

Purpose
Accesses the rating of a KSA.

Setf syntax

(setf (rating-of   ksa) rating) => rating

Method signatures

rating-of  (ksa ksa) => rating
(setf rating-of)  rating (ksa ksa) => rating

Package   :agenda-shell

Module   :agenda-shell

Arguments and values

ksa     A KSA
rating     A rating

Returns
The rating of ksa

Description
This generic function accesses the value stored in the rating nonlink slot of ksa. This value is used by the Agenda Shell to determine when to execute the KSA.

See also
    define-ks
    ks
    ksa

Examples
Return the rating of a KSA:

  > (rating-of ksa)
  58
  > (setf (rating-of ksa) 80)
  80
  > (rating-of ksa)
  80
  >

Note
The rating of a pending KSA can be changed by using setf or related macros with this accessor.


The GBBopen Project


ratingAgenda Control Shellrestart-control-shellrating-ofGoTo Top