NextPrevUpTopContentsIndex

-lex

Conflict Resolution Tactic / Function
Summary

Implements the -lex tactic.

Signature

-lex instantiation1 instantiation2 => boolean

Arguments

instantiation1

An instantiation object.

instantiation2

An instantiation object.

Values

boolean

Either nil or non- nil .

Description

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

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

defcontext
deftactic
lex
instantiation
conflict-set
fire-rule


KnowledgeWorks and Prolog User Guide (Unix version) - 29 Feb 2008

NextPrevUpTopContentsIndex