home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / ESIE.ZIP / FINAL.USE < prev    next >
Encoding:
Text File  |  1986-07-06  |  10.9 KB  |  442 lines

  1.  
  2.            
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.          
  10.  
  11.  
  12.                                       ESIE 
  13.  
  14.     
  15.                        The Expert System Inference Engine 
  16.  
  17.  
  18.                                  User's Manual
  19.          
  20.          
  21.  
  22.          
  23.          
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.          
  31.          
  32.          
  33.          Lightwave                                        July 1986 
  34.          P.O. Box 16858 
  35.          Tampa, FL  33617 
  36.          
  37.          
  38.  
  39.          
  40.          
  41.                                  Copyright 1986 
  42.  
  43.                               All Rights Reserved. 
  44.  
  45.          
  46.          
  47.          This manual may only be distributed as one file on the ESIE 
  48.          distribution diskette.  Such duplication and distribution is 
  49.          authorized without compensation as long as the diskette is a 
  50.          duplicate of the ESIE distribution diskette.  This manual may 
  51.          also be distributed in printed form as long as a copy of the 
  52.          distribution diskette is attached.  All other distribution is 
  53.          strictly prohibited. 
  54.          
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.                                                                 Page 1
  117.  
  118.  
  119.                                Table of Contents 
  120.  
  121.  
  122.          Introduction  . . . . . . . . . . . . . . . . . . . . . .  2 
  123.          
  124.          Configuring ESIE For Your System  . . . . . . . . . . . .  3
  125.  
  126.          Starting ESIE . . . . . . . . . . . . . . . . . . . . . .  5
  127.  
  128.          The ESIE Top Level  . . . . . . . . . . . . . . . . . . .  6
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                                                                 Page 2
  172.  
  173.  
  174.                                   Introduction 
  175.  
  176.                   
  177.          This manual is intended for the end user of a knowledge base 
  178.          created by a knowledge engineer.  The user need have no 
  179.          familiarity with Artificial Intelligence (AI) or expert 
  180.          systems in order to use and benefit from ESIE. 
  181.  
  182.          ESIE (pronounced "easy") is the acronym for Expert System 
  183.          Inference Engine.  ESIE is an "expert system shell." 
  184.  
  185.          Your data processing department will provide you with two 
  186.          diskettes.  One diskette will be a copy of the ESIE 
  187.          distribution diskette.  If you plan on providing this system 
  188.          to others, make a copy of the distribution diskette before 
  189.          beginning.  ESIE may not be distributed in any form unless it 
  190.          is a faithful duplication of the distribution diskette.  The 
  191.          other diskette will contain the knowledge bases to be used 
  192.          with ESIE. 
  193.          
  194.          If you are interested in learning more about Artificial 
  195.          Intelligence and doing more with ESIE, please print and read 
  196.          the file MANUAL. 
  197.  
  198.          Lightwave assumes that you have no experience in AI 
  199.          whatsoever, but we assume that you know how to operate your 
  200.          computer.  Neither this manual, nor any file distributed with 
  201.          ESIE, will try to educate you concerning your equipment.  
  202.  
  203.          In any case, welcome to ESIE!  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                                                                 Page 3
  227.  
  228.  
  229.                        Configuring ESIE For Your System 
  230.          
  231.          
  232.          Before you can execute the ESIE program, you must configure 
  233.          ESIE for your system.  (If you try to run ESIE before 
  234.          completing the configuration it will tell you that the file 
  235.          ESIE.CFG was not found.) 
  236.          
  237.          ESIE can be configured to run on either a monochrome or color 
  238.          monitor.  If you have a color monitor, you can select the 
  239.          colors you want.  ESIE can use any of the sixteen colors 
  240.          defined for color-graphics systems.  These colors are: 
  241.          
  242.                    black                       darkgray
  243.                    blue                        lightblue
  244.                    green                       lightgreen
  245.                    cyan                        lightcyan
  246.                    red                         lightred
  247.                    magenta                     lightmagenta
  248.                    brown                       yellow
  249.                    lightgray                   white
  250.          
  251.          To execute the configuration program, type in CONFIG at the 
  252.          DOS prompt.  CONFIG will then create the file ESIE.CFG and 
  253.          ask you if you have a color monitor. 
  254.          
  255.          If you have a monochrome monitor, then CONFIG will finish 
  256.          building the ESIE.CFG file and return you to DOS.  If you 
  257.          have a color monitor, then CONFIG will ask you six more 
  258.          questions.  The answer to each of these questions requires 
  259.          that you give CONFIG one of the valid colors above. 
  260.          
  261.          The six questions asked for color system users are: 
  262.          
  263.                 What color would you like the background?
  264.                 What color would you like question text?
  265.                 Color for answer (user response) text?
  266.                 Color for top level?
  267.                 Color for the result and trace?
  268.                 Finally, color for error messages?
  269.          
  270.          After you have given a valid color for each question, then 
  271.          CONFIG will return you to DOS. 
  272.          
  273.          If you have a color monitor, then we recommend these colors 
  274.          to get you started: 
  275.  
  276.                 For background:  blue.
  277.                 For question:  lightgray.
  278.                 For answers (user responses):  lightmagenta.
  279.                 For toplevel:  yellow.
  280.                 For result and trace:  lightcyan.
  281.                                                                 Page 4
  282.                 For error:  lightred.
  283.          
  284.          If you do not like the colors you have chosen the first time 
  285.          around, or you change the type of monitor that ESIE is 
  286.          running under, then you may re-execute CONFIG at any time. 
  287.          
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                                                                 Page 5
  337.  
  338.  
  339.                                  Starting ESIE 
  340.          
  341.  
  342.          Getting ESIE fired up will probably be one of the easiest 
  343.          things you do today.  The only three files you need in the 
  344.          computer to use ESIE are the ESIE.COM file, the ESIE.CFG file 
  345.          and the file where the KB is.  The ESIE.CFG file is created 
  346.          when you execute the CONFIG program. 
  347.  
  348.          For purposes of example, it will be assumed that you are 
  349.          using the ANIMAL KB provided with the distribution diskette.  
  350.          When you start to build your own KBs, simply substitute that 
  351.          file for ANIMAL.  ESIE will run in any drive and directory, 
  352.          including hard disks, as long as the needed files are 
  353.          present. 
  354.  
  355.          Then, type in ESIE at the DOS prompt.  The ESIE introductory 
  356.          screen will appear.  It contains copyright information and 
  357.          some benefits you will receive if you pay for your copy of 
  358.          ESIE. 
  359.          
  360.          At the top of the introductory screen is a prompt asking you 
  361.          to supply the file name where the knowledge base may be 
  362.          found.  You may enter any name you please.  Type in ANIMAL 
  363.          for this example.  If the file exists, then ESIE will attempt 
  364.          to load that file.  If no loading errors are found, then ESIE 
  365.          will take you to the top level. 
  366.          
  367.          If there are errors in loading the KB, then ESIE will list 
  368.          where it found the errors and return you to DOS. If the file 
  369.          does not exist, then you have the option of trying again.  
  370.          Just hitting the 'Y' or the 'N' key will answer this prompt.  
  371.          ESIE loads files faster than most, if not all, other ESSs, 
  372.          but be patient if you are loading a very large KB, especially 
  373.          from floppy diskette. 
  374.          
  375.          Then, after ESIE tells you the load is complete, type in GO.  
  376.          The consultation well now begin.  To leave ESIE type in EXIT 
  377.          at the top level. 
  378.          
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.                                                                 Page 6
  392.  
  393.          
  394.                                The ESIE Top Level 
  395.          
  396.  
  397.          You will know when you have reached the top level by the 
  398.          distinctive ESIE prompt.  It looks like this: "==>".  At the 
  399.          top level you have four different command options:  TRACE ON, 
  400.          TRACE OFF, GO, and EXIT.  While you can have as many leading 
  401.          and trailing blanks as you wish, ESIE is not quite free form 
  402.          on the command line.  You must have one and only one space 
  403.          between the TRACE and YES/NO options.  Other than that, ESIE 
  404.          is free form. 
  405.          
  406.          Importantly, ESIE is case insensitive.  Capitals look just 
  407.          the same as minors to ESIE.  This is also true in the KB and 
  408.          in end user responses.  ESIE is case insensitive everywhere.  
  409.          We like this feature.  We hate building rules to take care of 
  410.          the same idea but duplicated everywhere to take care of case, 
  411.          and the idea that a variable means something different 
  412.          because the first letter is capitalized drives us up the 
  413.          wall. 
  414.          
  415.          When you first enter the top level, trace is off by default.  
  416.          You can turn trace on using the TRACE ON command.  Use trace 
  417.          when you are building your own KB and want to follow 
  418.          execution in order to debug the KB.  Turning trace on will 
  419.          tell the system to constantly keep you informed of what it is 
  420.          currently looking for and what information it has learned. 
  421.          
  422.          You can turn the trace back off again by entering the TRACE 
  423.          OFF command. 
  424.          
  425.          The GO command is the command to tell ESIE to begin a 
  426.          consultation with the KB that was loaded.  ESIE will continue 
  427.          with this consultation until it is complete or until an error 
  428.          is found in the logic of the KB.  You may not turn trace on 
  429.          or off once a consultation has begun.  If the user types in 
  430.          TRACE ON, TRACE OFF, GO or EXIT in response to a question, 
  431.          then ESIE will treat that as the response to the question. 
  432.          
  433.          Once ESIE has completed the consultation, or found an error 
  434.          in the logic of the KB, it will return you to the top level 
  435.          for additional commands. 
  436.          
  437.          Use the EXIT command in order to leave ESIE and return to 
  438.          DOS.  After a consultation is complete, you have the option 
  439.          of entering ANY of the four commands, including GO, again. 
  440.  
  441.  
  442.