KnowledgeWorks and Prolog User Guide > 7 Reference Guide

NextPrevUpTopContentsIndex

specificity

Conflict Resolution Tactic / Function
Summary

Implements the specificity tactic.

Signature

specificity instantiation1 instantiation2 => result

Arguments

instantiation1

An instantiation object.

instantiation2

An instantiation object.

Values

result

A boolean.

Description

The function returns true if and only if instantiation1 is preferred to instantiation2 by the conflict resolution tactic specificity , otherwise false. The function is intended to be used primarily by including it in the conflict resolution strategy for a context.

Examples
(defcontext my-context1 :strategy (specificity))
(defcontext my-context2
  :strategy (priority specificity))
See also

defcontext
deftactic
-specificity
instantiation
conflict-set
fire-rule


KnowledgeWorks and Prolog User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex