All Manuals > KnowledgeWorks and Prolog User Guide > 7 Reference Guide

-lex Conflict Resolution Tactic / Function

Summary

Implements the -lex tactic.

Package

kw

Signature

-lex instantiation1 instantiation2 => result

Arguments
instantiation1
An instantiation object.
instantiation2
An instantiation object.
Values
result
A boolean.
Description

The conflict resolution tactic / function -lex returns true if and only if instantiation1 is preferred to instantiation2 by the conflict resolution tactic -lex, 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 (-lex))
(defcontext my-context2 :strategy (priority -lex))
See also

3.1.5.3 Conflict Resolution
defcontext
deftactic
lex
instantiation
conflict-set
fire-rule


KnowledgeWorks and Prolog User Guide (Windows version) - 01 Dec 2021 19:36:03