notify-learning

Method summary
add-problem object problem &key &allow-other-keys
diagnose diagnostic object-w-learning &key trigger &allow-other-keys
get-diagnostics object &key &allow-other-keys
get-problems object &key &allow-other-keys
get-repairs object &key &allow-other-keys
handle-fix fix repair problem object-w-learning &key &allow-other-keys
notify-learning object &key trigger
open-problem? problem
repair repair problem object-w-learning &key trigger &allow-other-keys
trigger? thing trigger &key &allow-other-keys
open-problem?   problem  [Generic function]
trigger?   thing trigger &key &allow-other-keys  [Generic function]

Whether the diagnostic is triggered in a certain situation.

diagnose   diagnostic object-w-learning &key trigger &allow-other-keys  [Generic function]

Each diagnostic should implement method diagnose which is called when the contents of its :trigger slot matches (through trigger-diagnostic?) the trigger of a notification. Return: nil, a single element or a list of elements. Elements are not required to be of class problem.

repair   repair problem object-w-learning &key trigger &allow-other-keys  [Generic function]

Every repair should implement this method. It is called whenever a notification is thrown which matches the trigger of the repair and when one of its trigger-problems is found in (problems obj-w-learning). If triggered-by-problems = nil it will only take the trigger into account. Should return a one value which we call a repair-result. This is not required to be of type repair-result.

handle-fix   fix repair problem object-w-learning &key &allow-other-keys  [Generic function]
get-diagnostics   object &key &allow-other-keys  [Generic function]

gets the diagnostics from an object

get-repairs   object &key &allow-other-keys  [Generic function]

gets the repairs from an object

get-problems   object &key &allow-other-keys  [Generic function]

gets the problems from an object

add-problem   object problem &key &allow-other-keys  [Generic function]

adds a problem to object

notify-learning   object &key trigger  [Generic function]