JAM Agents

in a Nutshell

 

Version 0.65+0.76i[1]

(November 2001)

 

 

Marcus J. Huber, Ph.D.

marcush@home.com

 

Intelligent Reasoning Systems

Oceanside, California

http://members.home.net/marcush/IRS

 

 

 

 

 

 

 

Draft of November 1, 2001


Table of Contents

Table of Contents............................................................................................................................................ 2

1.     INTRODUCTION & BACKGROUND......................................................................................................... 4

1.1.       Overview.............................................................................................................................................. 5

1.2.       Unpacking the JAM Agent distribution.............................................................................. 6

1.3.       Running and building JAM......................................................................................................... 7

2.     BELIEFS............................................................................................................................................................ 9

3.     GOALS............................................................................................................................................................. 11

3.1.       Top-level Goals............................................................................................................................. 11

3.2.       Subgoals............................................................................................................................................ 12

4.     PLANS.............................................................................................................................................................. 14

4.1.       Expressions...................................................................................................................................... 14

4.2.       Plan Body.......................................................................................................................................... 16

4.2.1.    Plan Variables.................................................................................................................................. 18

4.2.2.    Plan Actions...................................................................................................................................... 18

4.2.3.    Plan Comments................................................................................................................................. 30

4.3.       Plan Name.......................................................................................................................................... 30

4.4.       Plan Documentation.................................................................................................................. 30

4.5.       Plan Execution Behavior......................................................................................................... 30

4.5.1.    Plan Goal.......................................................................................................................................... 31

4.5.2.    Plan Conclude.................................................................................................................................. 31

4.6.       Plan Context................................................................................................................................... 31

4.6.1. Predicates.............................................................................................................................................. 33

4.7.       Plan Precondition....................................................................................................................... 34

4.8.       Plan Utility...................................................................................................................................... 34

4.9.       Plan Attributes.............................................................................................................................. 34

4.10.     Plan Effects..................................................................................................................................... 35

4.11.     Plan Failure..................................................................................................................................... 35

5.     CYCLIC FUNCTIONALITY........................................................................................................................ 38

6.     INTENTION STRUCTURE.......................................................................................................................... 39

7.     SOURCE-CODE API..................................................................................................................................... 40

8.     PRIMITIVE FUNCTION INTERFACING................................................................................................ 42

8.1.       PrimitiveAction Interface....................................................................................................... 42

8.2.       UserFunctions.java..................................................................................................................... 44

8.3.       Invoking Legacy Code...............................................................................