:RETRIEVE
Purpose
Processes a query without first activating backward-chaining rules.
This may save time if you know that the value is already in the KB.
Parameters
- clause
- A query to be evaluated.
Examples
(:RETRIEVE (Color Kermit ?color))
Success criteria
Succeeds if the clause succeeds.
Failure criteria
Fails if the clause fails.
Notes
Algernon guarantees that rules will only be activated once for each
set of duplicate queries, so the :RETRIEVE command does not save time in rule processing.
However, it will save the tiny amount of time that it takes to figure
out that the query has previously been asked.
See the documentation on rule
continuations.
Related commands
None.
Back to...
Algernon commands
Algernon Documentation Central
Algernon home page