NextPrevTopContents

Index

Symbols

* 4

+ 4

/== 145

::= 4

<..> 4

= 145

=.. 145

== 145

@< 145

@=< 145

@> 145

@>= 145

[..] 4

| 4

A

action 3 , 21 , 31

add-explanation 65

Advanced Topics

main chapter 61

agenda 25

all-debug 28 , 79

any 30 , 80

any Prolog interface function 132

append 145

arg 125 , 145

arity 29 , 46

assert 23 , 24 , 75 , 80

asserta 145

assertion 24

assertz 145

atomic 145

B

backward chaining 2 , 9 , 21 , 29 , 73

debugging 31

definition of rules 30

implementation notes 168

interpreter 30

syntax 29

bagof 145

browsers 8

class 12 , 49

object 10 , 17 , 52

rule 8 , 15 , 53

system 48

C

C 1

call 145

certainty factor 66

certainty factors 66 , 69

*c-factor* 66

chaining 2

class browser 49

classes 12

named 34

relational database 35

unnamed 34

clause 145

clear 47

clear-all 48 , 77 , 81

clear-rules 47 , 82

CLOS 2 , 3 , 5 , 7 , 10 , 18 , 21 , 29 , 47 , 70

class categories in KnowledgeWorks 33

classes in KnowledgeWorks 33

objects in 4 , 33

CLOS mixin class 4

CLOS/SQL class 35

Common Lisp Interface 32

Common Lisp Object System (CLOS) 2 , 5

Common Prolog main chapter 123

condition 21

syntax 22

conflict resolution 14 , 22 , 26 , 68

-lex 27 , 72

lex 27

-mea 27 , 72

mea 27

optimizing 72

-order 27

order 26 , 27

-priority 26

priority 26

-recency 26 , 72

recency 26

-specificity 27

specificity 27

tactics 26 , 72

use of contexts 72

user definable 68

user-definable 68

conflict resolution strategy 68

conflict resolution tactic 26 , 68

conflict-set 82

context 25 , 61

context 23 , 24 , 83

context definition 28

contexts 8 , 26

control

flow of 25 , 61

creep 16 , 55

current-cycle 84

cut 74

cut 84

*cycle* 85

cycle

of forward chaining 22

D

DCG 140

debug 145

debugger

in Prolog 135

debugging 2 , 15 , 28 , 55

backward chaining 31

forward chaining 28

debugging 145

default-context 25 , 47 , 82

defclass 85 , 87

defclass macro in LispWorks 34

defcontext 26 , 28 , 62 , 87

defdetpred 148

defdetrel 145

defdetunipred 149

defexplain 65

defgrammar 140 , 145

Defining Contexts 28

Definite Clause Grammars 140

def-kb-class 34 , 66 , 74 , 76 , 85

def-kb-struct 70 , 71 , 86

defmethod 74

def-named-kb-class 34 , 86

defrel 124 , 145

defrelmacro 140 , 145

defrel-special-form-macro 146

defrule 21 , 24 , 29 , 61 , 62 , 67 , 73 , 75 , 76 , 77 , 89

defstruct 70 , 86

deftactic 68 , 90

def-view-class in LispWorks 36

destroy-inferencing-state 77 , 91

deterministic 146

documentation strings 21 , 26 , 68 , 88 , 89 , 91

dynamic conflict resolution 72

E

Edinburgh Prolog 31

Edinburgh Syntax 143

compatible predicates 149

editor 47

editor window 8

environment

graphic environment in Prolog 144

erase 23 , 92 , 146

explanations 64

expression

syntax 23

F

fail 92 , 146

field

pattern 11 , 52

query 52

findall 30 , 94 , 132 , 146

findallset 132 , 146

find-inferencing-state 77 , 93

fire-rule 62 , 95

forward chaining 2 , 7 , 21 , 70 , 71

cycle 22 , 61 , 62

debugging 28

history 13 , 58

implementation notes 167

interpreter 25

rule definition 25

syntax 22

functor 125 , 146

G

get-object 34 , 95

goals 3

graphical tools 2

H

halt 146

history 13

forward chaining 13 , 58

I

Implementation Notes

appendix 167

implication strength 66

*implic-strength* 66 , 67

infer 7 , 16 , 25 , 77 , 96

inference engine 3

inferencing states

creating and maintaining 77

current 77 , 97

definition of 76

uses 77

*inferencing-state* 77 , 97

inferencing-state-name 97

*in-interpreter* 96

inspector

instances 50

instantiation 62 , 63 , 100

instantiations 63

inst-bindings 63 , 98

inst-rulename 63 , 99

inst-token 63 , 99

integer 146

interface functions in Prolog 132

interpreter

backward chaining 30

forward chaining 25

Introduction

main chapter 1

is 146

K

keysort 146

keyword

:backward 21

:forward 21

:meta 62

:name 34

:priority 14

Knowledge Based Systems (KBS) 1 , 4

KnowledgeWorks 1 , 7

backward chaining engine 29

clearing 47

CLOS objects 29 , 33

Converting Other Systems Into, 175

generic functions 51

historical perspective 1

inspector 50

instances 50

listener 46

mixin class 35

object base 29

objects 30

podium 6

rule development 45

rule monitor 54 , 56

rules in 21

running the tutorial 7

spy window 54

structures 44 , 70

technical overview 2

tools 17

Use of Meta-Classes 74

kw-class 102

L

leap 17 , 55

leash 146

leashing 135

-lex 27 , 72 , 103

lex 27 , 103

Lisp 1 , 5 , 23 , 32 , 33

integration of 18

LispWorks 1 , 5 , 19 , 29

accessing Lisp from Prolog 128

availability in KnowledgeWorks 45

Common Prolog Logic Listener 46

SQL interface 35

Lispworks

calling Prolog 130

list-all-inferencing-state 77 , 101

listener 7 , 46

listing 146

loading files 7

logic 130

logic interpreter 126

logic listener 144

logical 23 , 75

M

macro

in Prolog 140

make-inferencing-state 77 , 104

make-instance 34 , 70 , 75 , 105

-mea 27 , 72 , 106

mea 27 , 107

member 146

menu button

creep 16 , 55

leap 17 , 55

menu item

browse 12

class browser 12

Classes 12

clear 47

context 54

FC History 13

Inspect 53

Instantiations 53

KnowledgeWorks 7 , 12 , 13

Listener 7

Objects 10 , 52

Rules 8 , 54

:meta keyword 62

Meta Object Protocol (MOP) 4

Meta Rule Protocol (MRP) 4 , 61

meta-interpreter 61

metaprotocols 2

meta-rule 61

mixin 4 , 34

monitor window 15 , 56

MYCIN 66

N

name 34 , 101

named classes 34

named-kb-object 34 , 87 , 107

node 9

no-debug 28 , 108

nodebug 146

nonvar 146

nospy 146

not 23 , 108 , 146

notrace 147

O

object 30

browser 17 , 52

certainty factor 66

named 33

object base 16 , 44

and inferencing states 76

clearing 47

main chapter 33

uncertainty 66

object browser 10

object system 2

once 147

OPS5 71 , 175

optimization 70

optimization of KnowledgeWorks 44

-order 27 , 109

order 26 , 27 , 110

output-defrels 147

P

pattern 11 , 52

matching 73

popup 7

Preferences... command 10 , 53 , 54

*print-verbose* 111

-priority 26 , 111

priority 26 , 112

procedural language 2

programming environment

main chapter 45

Prolog 29 , 31 , 178

accessing Lisp 128

adding built in predicates 148

built in predicates 145

calling from LispWorks 130

cut 74

debugging 135

Edinburgh Syntax 143

exiting the interpreter 128

graphic environment 144

interface functions 132

leashing 135

logic interpreter 126

logic listener 144

macros 140

main chapter 123

overview 123

predicates compatible with Edinburgh syntax 149

retrieving multiple solutions in 126

specifying multiple goals in 127

spy points 135

syntax 124

tracing 135

Q

query 52

R

read-query-print loop 126

read-term 147

-recency 26 , 72 , 112

recency 26 , 113

recorda 147

recorded 147

recordz 147

relational database classes 35

repeat 147

reset 47 , 77 , 114

retract 147

return 23 , 24 , 26 , 115

rule 21

action 21

backward chaining 30

browser 15

condition 21

definition of forward chaining 25

editing definitions 17

groups 13

implication strength 66

single-stepping 16

rule browser 53

rule monitor 54 , 56

rule preconditions 71

rulebase 35

rule-defined conflict resolution 72

Rules

main chapter 21

S

setof 147

*signal-kb-name-clash* 115

sort 147

-specificity 27 , 116

specificity 27 , 116

spy 147

spy points 135

spy window 16 , 54 , 55

standard- kb-object 36 , 74

standard-class 74

standard-context 117

standard-db-object 36

standard-kb- object 74

standard-kb-class 74

standard-kb-object 49 , 85 , 118

start-cycle 62 , 118

start-kw 119

static conflict resolution 72

structures 44 , 47 , 70

subclasses 12

syntax

backward chaining 29

expression 23

forward-condition 22

of forward chaining 22

syntax of Prolog 124

system browser 48

systems 19

T

tactic 26 , 68 , 90

Tail Recursion 73

test 119

Tools menu

Preferences... 10 , 54

trace

in Prolog 135

trace 147

translate-vars 147

true 148

truth maintenance 23 , 75

Tutorial

main chapter 5

U

undefcontext 28 , 120

undefrule 25 , 120

unleash 148

unnamed classes 34

V

var 148

W

window

browser 8

editor 8 , 47

listener 7 , 8 , 46 , 54

monitor 15 , 56

podium 6

popup 7

spy 16 , 54 , 55

subclasses 12

with-prolog 134

with-rule-actions 121


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

NextPrevTopContents