home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / ESIE.ZIP / MANUAL < prev    next >
Encoding:
Text File  |  1986-07-06  |  60.2 KB  |  1,711 lines

  1.          
  2.            
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                                       ESIE 
  12.  
  13.     
  14.                        The Expert System Inference Engine 
  15.  
  16.  
  17.                               Knowledge Engineer's 
  18.  
  19.  
  20.                                      Manual 
  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.          What is ESIE? . . . . . . . . . . . . . . . . . . . . . .  3
  125.          
  126.          What is Shareware?  . . . . . . . . . . . . . . . . . . .  7
  127.          
  128.          ESIE Requirements . . . . . . . . . . . . . . . . . . . .  8
  129.          
  130.          The ESIE Distribution Diskette  . . . . . . . . . . . . . 10
  131.          
  132.          Configuring ESIE For Your System  . . . . . . . . . . . . 11
  133.          
  134.          Starting ESIE . . . . . . . . . . . . . . . . . . . . . . 13
  135.          
  136.          The ESIE Top Level  . . . . . . . . . . . . . . . . . . . 14
  137.          
  138.          The ESIE Rule Structure . . . . . . . . . . . . . . . . . 15
  139.          
  140.          What Happens During a Consultation  . . . . . . . . . . . 20
  141.  
  142.          Paying For and Obtaining the Next Version of ESIE . . . . 21
  143.          
  144.          Answers to Often Asked Questions  . . . . . . . . . . . . 22
  145.  
  146.          Enhancements Made to ESIE . . . . . . . . . . . . . . . . 25
  147.          
  148.          ESIE Error Messages . . . . . . . . . . . . . . . . . . . 27
  149.          
  150.          Concluding Remarks  . . . . . . . . . . . . . . . . . . . 29
  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.          ESIE (pronounced "easy") is the acronym for Expert System 
  178.          Inference Engine, an expert system shell otherwise known as 
  179.          an inference engine. 
  180.          
  181.          With ESIE you can put some "smarts" into your personal 
  182.          computer.  You can build custom "knowledge bases" (KBs) that 
  183.          can be used to aid people to do things that they would not be 
  184.          capable of doing, or doing as well, without the system.  ESIE 
  185.          knowledge bases can be built to help make decisions or make 
  186.          our computers "more human." 
  187.          
  188.          This manual is designed for the person who already has some 
  189.          experience in the field of Artificial Intelligence (AI).  If 
  190.          this applies to you - then hi!  There is a good possibility 
  191.          that you know at least one person on our staff. 
  192.          
  193.          If you are brand new to the wonderful world of AI, then 
  194.          welcome!  ESIE is a great tool for the beginner, too.  The 
  195.          manual NOVICE was written for you.  We urge you to print and 
  196.          read that file before getting started. 
  197.          
  198.          The manual TUTOR guides users through the process of building 
  199.          a knowledge base.  The knowledge base you will build is a 
  200.          simple one, but one that can be used to help people decide on 
  201.          needed equipment for their personal computer.  TUTOR also 
  202.          provides many tips for building great and super great 
  203.          knowledge bases. 
  204.  
  205.          HISTORY will give you a short history and working knowledge 
  206.          of AI. 
  207.          
  208.          If you only intend on using ESIE with a knowledge base 
  209.          written for you, then you need only print and read the file 
  210.          FINAL.USE. 
  211.          
  212.          For those whom this manual was intended, we expect that you 
  213.          will have done some work, or at least some reading, in 
  214.          knowledge based applications.  We can only assume that you 
  215.          know something about rule structures, knowledge 
  216.          representation, and inferencing.  If you need to bone up on 
  217.          this information, might we suggest that you scan over the 
  218.          file TUTOR? 
  219.          
  220.          In any case, welcome to ESIE! 
  221.          
  222.  
  223.  
  224.  
  225.  
  226.                                                                 Page 3
  227.  
  228.  
  229.                                  What Is ESIE? 
  230.          
  231.  
  232.          ESIE is the acronym for Expert System Inference Engine, and 
  233.          that is exactly what it is.  ESIE loads in a knowledge base, 
  234.          and builds inferences out of the rules contained therein, to 
  235.          act like an Advisor.  It is an Artificial Intelligence expert 
  236.          system shell.  
  237.  
  238.          The normal gamut of expert systems (ES) can be built for and 
  239.          used by ESIE.  Tools such as system configurators, medical 
  240.          experts, oil and gas exploration, etc, can all be done in 
  241.          ESIE.  ESIE is a rule-based backward chaining inference 
  242.          engine. 
  243.          
  244.          The acronym was also selected because ESIE is easy to use.  
  245.          If you are like us, then you've pulled out more than a few 
  246.          hairs trying to work with the complexity of most ES shells 
  247.          (ESS) available today.  We can vividly remember thinking, 
  248.          "They've got to be kidding" with at least five different 
  249.          ESSs.  Further, we are convinced that if we uncovered one 
  250.          more "undiscovered" bug in an ESS that we would all be 
  251.          permanent residents at Bellevue. 
  252.          
  253.          ESIE is not like that.  It's easy to use and easy to learn.  
  254.          It's a fairly simple system so that we feel good about the 
  255.          testing and debugging that went into ESIE.  Since ESIE was 
  256.          written in Pascal, and not a pirated version of something 
  257.          hard to debug, like Prolog, it should hold you in good stead. 
  258.          
  259.          If you were, or are, currently working for a corporation or 
  260.          university then you are also aware of the difficulty in 
  261.          getting management approval for a very expensive piece of 
  262.          software.  ESIE is built to put some competitiveness into the 
  263.          ESS market.  ESIE is very inexpensive and rivals many ESSs in 
  264.          power and it beats nearly all in speed.  
  265.          
  266.          ESIE was originally designed to be a market test for the 
  267.          demand of AI software.  Since it was going to be a market 
  268.          test, shareware was chosen as the distribution medium.  
  269.          Therefore, our advertising costs are nil, distribution costs 
  270.          are low, and demand is fairly accurately gauged. 
  271.  
  272.          Knowledge based inference engines have a very select market 
  273.          at present, but that soon may change.  The advent of low cost 
  274.          and readily available software might help the spread and 
  275.          acceptance of AI.  However, there is a real demand for AI 
  276.          software.  Lightwave has plans to enter the AI software 
  277.          market in a big way.  Please keep us advised if you would 
  278.          like to know what we are up to. 
  279.          
  280.          Lightwave will continue to support and enhance ESIE as long 
  281.                                                                 Page 4
  282.          as there are users that want to pay for it. 
  283.          
  284.          ESIE has a long list of advantages to our users over other 
  285.          inference engines available on the market. 
  286.  
  287.          One of the best advantages of ESIE is it's cost.  You are 
  288.          well aware of how much systems can cost.  Let's go through a 
  289.          little rundown for comparison: 
  290.  
  291.          The best LISP processor in existence today will cost you more 
  292.          than $100,000.00 per person.  Software and development time 
  293.          to build any expert system can jack the price up 
  294.          substantially.  Now say you have targeted an area that looks 
  295.          pretty applicable to be "AIed."  You know that when the 
  296.          system is complete you will want to install it in, say, fifty 
  297.          locations.  You take six months to develop the first working 
  298.          model and spend $450,000.00 doing it.  After you install your 
  299.          fifty stations you realize you have just spent $6,700,000.00.  
  300.          
  301.          Your Vice President, in charge of new technology, unhooks his 
  302.          Thomson Automatic from the showcase wall and commits a most 
  303.          unnatural form of suicide.  You would have to be working in 
  304.          some very high stakes game in order to recoup 6.7 million 
  305.          dollars through an expert system.  Do you think the fifty 
  306.          installation points was too small?  The numbers only get 
  307.          worse if you add more stations.  The real cost to you comes 
  308.          in the form of specialized processors and software to run 
  309.          them. 
  310.          
  311.          Many AI departments that we know of realize the problems 
  312.          inherent in the high stakes game of specialized processors, 
  313.          especially when the field is a new one to the company or the 
  314.          department.  Therefore, many groups are turning towards 
  315.          existing hardware to meet their processing needs.  Wisely, 
  316.          many are choosing micro computers because cost of 
  317.          installation is drastically reduced, and in many cases micros 
  318.          already exist at the target.  This makes the cost of 
  319.          installation equal to development cost plus software cost. 
  320.          
  321.          Great.  So lets look at personal computer software cost.  
  322.          Believe it or not, there is quite a bit of AI software out 
  323.          there for personal computers.  We have some kind of problem 
  324.          with all of it.  Cost is still the biggest factor.  Let's 
  325.          pick a popular price for an ESS in the marketplace: $7,500.00 
  326.          per copy.  (It used to be $12,000, but now is "marked down.")  
  327.          
  328.          Now your installation costs are way down, and because the 
  329.          package is a little more personal and available to your 
  330.          researchers, you are able to complete initial development in 
  331.          five months and spend $350,000.00.  Now you install the 
  332.          system in your fifty locations, and you are lucky: every one 
  333.          of them has a personal computer available.  You step back to 
  334.          admire your handiwork and realize you have just spent 
  335.          $950,000.00.  The head of your department leaves work early 
  336.                                                                 Page 5
  337.          and takes a long swim in the cooling tower of Unit 2 at Three 
  338.          Mile Island. 
  339.          
  340.          Obviously, cost is one of the great advantages of ESIE.  It 
  341.          is shareware.  So lets say you decide to use ESIE on your 
  342.          target project, and that you take five months and $300,000 to 
  343.          build the product.  Let's also assume that, for whatever 
  344.          reason, you decide to pay for support for all fifty+ copies 
  345.          of ESIE that you need.  (That would certainly make our day!)  
  346.          After your fifty station installation you realize you have 
  347.          only spent $307,250.  The president of your corporation hands 
  348.          you the highest company award, you get your picture on the 
  349.          cover of your company magazine and you are a labeled a hero. 
  350.          
  351.          In addition to cost, availability is also key to your success 
  352.          as an AI department.  You may freely make as many copies of 
  353.          the distribution diskette of ESIE as you like.  Try that with 
  354.          another ESS, and, if you get past the copy protection, do it 
  355.          while staying out of jail.  ESIE is instantly available to 
  356.          everyone in your group as well as everyone in your company.  
  357.          We personally have waited four months for a diskette to 
  358.          arrive - AFTER the check had been mailed from our accounting 
  359.          department.  You can use ESIE now and forever with ease. 
  360.          
  361.          Some of the other packages that look really good to you may 
  362.          be difficult or impossible to obtain.  Many colleges and 
  363.          universities will be more than happy to discuss their latest 
  364.          and greatest at conventions but ask for a copy?  Forget it.  
  365.          Also, some systems will only run on certain machines - 
  366.          machines you may not have and certainly do not want to buy.  
  367.          ESIE will run on any MS/PC DOS computer. 
  368.          
  369.          ESIE is also easy to use and to learn.  Of the knowledge 
  370.          bases distributed with ESIE, both DOCTOR and ANIMAL took less 
  371.          than eight hours apiece to build.  We admit a little bias 
  372.          here, after all, we did build ESIE.  So, it may take you ten 
  373.          hours, but it may only take you six. 
  374.          
  375.          Another super advantage to paying for ESIE is the access to 
  376.          our AI help line.  Our technical support staff will be more 
  377.          than happy to answer all your questions about AI, even if 
  378.          they are not related to ESIE.  We'll even answer your 
  379.          questions about our competitors (fairly too!)  We can point 
  380.          you in the right direction to find other tools from other 
  381.          companies to satisfy your AI needs.  Of course, the staff 
  382.          will help you build knowledge bases to get you up and 
  383.          running.  Oh yes, our technical support number is available 
  384.          twenty-four hours a day, nearly every day of the year. 
  385.          
  386.          Paying for ESIE will also get you the upgrade to the next 
  387.          version, delivered to your front door.  Lightwave has plans 
  388.          to expand ESIE by leaps and bounds, and the next upgrade will 
  389.          certainly be more powerful than the current version.  Go for 
  390.          it! 
  391.                                                                 Page 6
  392.  
  393.          We are constantly looking out for your needs.  If you print 
  394.          and fill out the file called SUPPORT with your requests for 
  395.          additional features, we might well be persuaded to add them 
  396.          for you.  We certainly want to keep improving ESIE.  It is 
  397.          our goal to keep ESIE alive and kicking for a long long time. 
  398.          
  399.          Last, but not least, is speed.  This is one of our pet peeves 
  400.          concerning many ESSs today - they are just too slow.  Many 
  401.          departments have switched to more powerful micros, such as 
  402.          the IBM PC AT (r), to offset slow software.  Well, ESIE will 
  403.          run on those, too, but it doesn't have to.  ESIE is fast, 
  404.          very fast, compared to most ESSs in existence today.  Spend 
  405.          some time to do a benchmark of ESIE against any other system.  
  406.          We think you will be pleasantly surprised. 
  407.          
  408.          All of the above are benefits to be gained from using ESIE: 
  409.          you drastically cut your costs (a hero maker in many a 
  410.          department), better availability to your software, easy to 
  411.          learn and use - cutting training time and costs and 
  412.          increasing productivity, access to the help line, the next 
  413.          upgrade, and much more speed. 
  414.          
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.                                                                 Page 7
  447.  
  448.          
  449.                                What Is Shareware? 
  450.          
  451.          
  452.          Shareware is a software distribution concept.  In shareware, 
  453.          it is believed: that people will pay for something they find 
  454.          useful, that most software costs too much, that copy 
  455.          protection schemes can sometimes be frustrating even to the 
  456.          most honest user, and that software users want to support 
  457.          software authors while not necessarily supporting the 
  458.          software middle men.  
  459.  
  460.          Shareware is a marketing concept.  The term was probably 
  461.          originally coined by Bob Wallace of Quicksoft, Inc.  Mr. 
  462.          Wallace wrote PC-Write (c), a shareware full-feature text 
  463.          editor.  We like PC-Write and prefer it as our 
  464.          editor-of-choice.  We believe you will find PC-Write useful 
  465.          and to that end we will send you a copy if you support ESIE 
  466.          at the $145 level. 
  467.          
  468.          ESIE is distributed under the Shareware concept.  You receive 
  469.          the software first, from whatever source that may be, and pay 
  470.          only what you think the software is worth.  You are free, and 
  471.          encouraged, to share copies of the distribution diskette with 
  472.          others. 
  473.          
  474.          ESIE is marketed under the shareware concept.  We prefer to 
  475.          think of ESIE as living software: software that continues to 
  476.          develop and get better, more powerful.  We believe ESIE is a 
  477.          useful tool as it is, but can be improved.  However, support 
  478.          for living software must come from somebody.  Even software 
  479.          authors and AI researchers can't live on discovery and love 
  480.          alone.  In shareware this support comes from you - the user. 
  481.  
  482.          Most software that is distributed on the shareware principle 
  483.          offers additional features for your payment.  ESIE is no 
  484.          exception.  If your contribution meets or exceeds $145 you 
  485.          will receive: a copy of the ESIE distribution diskette for 
  486.          the latest and/or next version (you will receive both if the 
  487.          latest version is 2.0), professionally bound and printed 
  488.          copies of the manuals, a copy of PC-Write (c) (a very slick 
  489.          text editor usable with ESIE), access to the ESIE help line, 
  490.          and our very sincere thanks for supporting us in this effort. 
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.                                                                 Page 8
  502.  
  503.  
  504.                                ESIE Requirements 
  505.          
  506.  
  507.          In order to use ESIE you don't need much at all.  For 
  508.          hardware you will need: an MS-DOS (r) or IBM (r) computer 
  509.          with at least 128 KB of RAM, and a monitor.  ESIE should run 
  510.          on any MS-DOS (r) computer, (it has been tested on several), 
  511.          but we just cannot guarantee that it will run on your 
  512.          particular machine.  ESIE will run on the IBM PC jr, PC, XT, 
  513.          and AT (r).  The jr will require 256 KB of memory as it uses 
  514.          some of the available program memory for it's display. 
  515.          
  516.          Some 128KB machines may give you the "insufficient memory" 
  517.          message when trying to run ESIE.  Sorry guys, but you will 
  518.          have to pay out the extra dough for the RAM in order to run 
  519.          ESIE on your machine.  There are all kinds of factors that 
  520.          can cause this to happen.  ESIE will run in any machine with 
  521.          at least 256KB of RAM. 
  522.          
  523.          ESIE will run in a system with either a color or monochrome 
  524.          monitor.  Execute the program CONFIG to configure ESIE to 
  525.          meet your monitor needs. 
  526.          
  527.          For software you only need DOS version 2.0 or higher, 
  528.          (including 3.0 and 3.1), and a word processor.  Any word 
  529.          processor will do, but the word processor needs to be capable 
  530.          of producing flat ASCII files.  You probably already have all 
  531.          the software you need.  If you are not sure if your word 
  532.          processor produces flat ASCII files there are two tests: 1) 
  533.          try to build a short program with your word processor and run 
  534.          it through any compiler - if the compiler gets an upset 
  535.          stomach there is a good chance you need a different word 
  536.          processor, 2) take any text file you created with your 
  537.          editor, and at the DOS command level enter TYPE <fn>, where 
  538.          <fn> is the file you edited.  If your file looks like a video 
  539.          game then you need a different editor.  If it TYPEd your file 
  540.          as you had entered it then you are probably OK. 
  541.          
  542.          If your editor does not produce flat files then do not panic.  
  543.          If you pay for a copy of ESIE at the $145 price we will send 
  544.          you one.  The editor is called PC-Write (c) and it is a 
  545.          full-screen full-feature text editor.  Of all the editors we 
  546.          have we prefer PC-Write.  It just seems to "feel" the best 
  547.          for us.  PC-Write is also a shareware product, produced by 
  548.          Quicksoft. 
  549.          
  550.          Many word processors produce flat files as a matter of 
  551.          course.  Nearly any text editor that is designed to be used 
  552.          by programmers, and therefore produce compilable source code, 
  553.          generally produce flat files.  Those word processors that are 
  554.          designed to be used primarily by office personnel, for the 
  555.          creation of correspondence, sometimes do not.  They use a 
  556.                                                                 Page 9
  557.          compression scheme, and often a coding scheme to control 
  558.          paging, in order to save disk and RAM space.  We think it is 
  559.          a silly idea, but who listens to a group of AI techie types? 
  560.          
  561.          If you are hell bent on using your current text editor, and 
  562.          it is one of those that do not produce flat files, then you 
  563.          still may be in luck.  In many of these editors you have an 
  564.          option of producing a flat file from your edited file through 
  565.          a process usually labeled exportation or editing in document 
  566.          mode.  By selecting that option through a menu you can 
  567.          produce a flat file that compilers, and ESIE, can read.  One 
  568.          word of caution:  make a copy of your file FIRST before 
  569.          attempting exportation.  It seems that many companies did not 
  570.          bother to do much testing of this function and we have 
  571.          trashed many a file trying to export.  Importing the file, or 
  572.          getting it back into editor format, is usually much worse.  
  573.          We wouldn't even attempt it if we were you, but good luck if 
  574.          you do. 
  575.          
  576.          In whatever editor you choose, the margins and spacing can be 
  577.          set to whatever you choose.  ESIE reads from the file in free 
  578.          format.  That means that your file can look pretty strange if 
  579.          you want it to.  As long as the syntax is in the correct 
  580.          order the file will load properly.  If it does not then ESIE 
  581.          will report an error in the knowledge base and return you to 
  582.          DOS. 
  583.          
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.                                                                Page 10
  612.  
  613.          
  614.                          The ESIE Distribution Diskette 
  615.                                        
  616.  
  617.          The first thing you need to do is make a backup copy of the 
  618.          ESIE distribution diskette.  This will protect you in case 
  619.          your working diskette gets damaged and will allow you to 
  620.          configure ESIE for your own personal use.  If you like ESIE, 
  621.          then making the copy first makes it easier for you to pass it 
  622.          along to your friends and associates.  You can make a backup 
  623.          copy of ESIE using either the DOS COPY or DISKCOPY command. 
  624.          
  625.          The definition of the distribution diskette is a diskette 
  626.          that is an exact duplicate of the diskette as it is shipped 
  627.          from Lightwave.  You can test the accuracy of your diskette 
  628.          by entering the command:  CHECK *.* at the DOS prompt.  The 
  629.          output from the CHECK program must exactly match the 
  630.          information in the file CHECK.TXT, excluding the CRC for 
  631.          CHECK.TXT and the total. 
  632.          
  633.          The above test will also tell you if you have a damaged disk.  
  634.          The CHECK program is distributed with all of Lightwave's 
  635.          products, and it calculates the CRC of the named file(s). 
  636.          
  637.          The reason the CRC for the file CHECK.TXT will not be correct 
  638.          is because the CRC for the file must be added to it, which 
  639.          will change the CRC.  The total will be incorrect for the 
  640.          same reason. 
  641.          
  642.          Everything you need except hardware, DOS and an editor, is on 
  643.          the ESIE distribution diskette. 
  644.          
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.                                                                Page 11
  667.  
  668.  
  669.                         Configuring ESIE For Your System 
  670.          
  671.          
  672.          Before you can execute the ESIE program, you must configure 
  673.          ESIE for your system.  (If you try to run ESIE before 
  674.          completing the configuration it will tell you that the file 
  675.          ESIE.CFG was not found.) 
  676.          
  677.          ESIE can be configured to run on either a monochrome or color 
  678.          monitor.  If you have a color monitor, you can select the 
  679.          colors you want.  ESIE can use any of the sixteen colors 
  680.          defined for color-graphics systems.  These colors are: 
  681.          
  682.                    black                       darkgray
  683.                    blue                        lightblue
  684.                    green                       lightgreen
  685.                    cyan                        lightcyan
  686.                    red                         lightred
  687.                    magenta                     lightmagenta
  688.                    brown                       yellow
  689.                    lightgray                   white
  690.          
  691.          To execute the configuration program, type in CONFIG at the 
  692.          DOS prompt.  CONFIG will then create the file ESIE.CFG and 
  693.          ask you if you have a color monitor. 
  694.          
  695.          If you have a monochrome monitor, then CONFIG will finish 
  696.          building the ESIE.CFG file and return you to DOS.  If you 
  697.          have a color monitor, then CONFIG will ask you six more 
  698.          questions.  The answer to each of these questions requires 
  699.          that you give CONFIG one of the valid colors above. 
  700.          
  701.          The six questions asked for color system users are: 
  702.          
  703.                 What color would you like the background?
  704.                 What color would you like question text?
  705.                 Color for answer (user response) text?
  706.                 Color for top level?
  707.                 Color for the result and trace?
  708.                 Finally, color for error messages?
  709.          
  710.          After you have given a valid color for each question, then 
  711.          CONFIG will return you to DOS. 
  712.          
  713.          If you have a color monitor, then we recommend these colors 
  714.          to get you started: 
  715.  
  716.                 For background:  blue.
  717.                 For question:  lightgray.
  718.                 For answers (user responses):  lightmagenta.
  719.                 For toplevel:  yellow.
  720.                 For result and trace:  lightcyan.
  721.                                                                Page 12
  722.                 For error:  lightred.
  723.          
  724.          If you do not like the colors you have chosen the first time 
  725.          around, or you change the type of monitor that ESIE is 
  726.          running under, then you may re-execute CONFIG at any time. 
  727.          
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.                                                                Page 13
  777.  
  778.  
  779.                                  Starting ESIE 
  780.          
  781.  
  782.          Getting ESIE fired up will probably be one of the easiest 
  783.          things you do today.  The only three files you need in the 
  784.          computer to use ESIE are the ESIE.COM file, the ESIE.CFG file 
  785.          and the file where the KB is.  The ESIE.CFG file is created 
  786.          when you execute the CONFIG program. 
  787.  
  788.          For purposes of example, it will be assumed that you are 
  789.          using the ANIMAL KB provided with the distribution diskette.  
  790.          When you start to build your own KBs, simply substitute that 
  791.          file for ANIMAL.  ESIE will run in any drive and directory, 
  792.          including hard disks, as long as the needed files are 
  793.          present. 
  794.  
  795.          Then, type in ESIE at the DOS prompt.  The ESIE introductory 
  796.          screen will appear.  It contains copyright information and 
  797.          some benefits you will receive if you pay for your copy of 
  798.          ESIE. 
  799.          
  800.          At the top of the introductory screen is a prompt asking you 
  801.          to supply the file name where the knowledge base may be 
  802.          found.  You may enter any name you please.  Type in ANIMAL 
  803.          for this example.  If the file exists, then ESIE will attempt 
  804.          to load that file.  If no loading errors are found, then ESIE 
  805.          will take you to the top level. 
  806.          
  807.          If there are errors in loading the KB, then ESIE will list 
  808.          where it found the errors and return you to DOS. If the file 
  809.          does not exist, then you have the option of trying again.  
  810.          Just hitting the 'Y' or the 'N' key will answer this prompt.  
  811.          ESIE loads files faster than most, if not all, other ESSs, 
  812.          but be patient if you are loading a very large KB, especially 
  813.          from floppy diskette. 
  814.          
  815.          Then, after ESIE tells you the load is complete, type in GO.  
  816.          The consultation will now begin.  To leave ESIE type in EXIT 
  817.          at the top level. 
  818.          
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.                                                                Page 14
  832.  
  833.          
  834.                                The ESIE Top Level 
  835.          
  836.  
  837.          You will know when you have reached the top level by the 
  838.          distinctive ESIE prompt.  It looks like this: "==>".  At the 
  839.          top level you have four different command options:  TRACE ON, 
  840.          TRACE OFF, GO, and EXIT.  While you can have as many leading 
  841.          and trailing blanks as you wish, ESIE is not quite free form 
  842.          on the command line.  You must have one and only one space 
  843.          between the TRACE and YES/NO options.  Other than that, ESIE 
  844.          is free form. 
  845.          
  846.          Importantly, ESIE is case insensitive.  Capitals look just 
  847.          the same as minors to ESIE.  This is also true in the KB and 
  848.          in end user responses.  ESIE is case insensitive everywhere.  
  849.          We like this feature.  We hate building rules to take care of 
  850.          the same idea but duplicated everywhere to take care of case, 
  851.          and the idea that a variable means something different 
  852.          because the first letter is capitalized drives us up the 
  853.          wall. 
  854.          
  855.          When you first enter the top level, trace is off by default.  
  856.          You can turn trace on using the TRACE ON command.  Use trace 
  857.          when you are building your own KB and want to follow 
  858.          execution in order to debug the KB.  Turning trace on will 
  859.          tell the system to constantly keep you informed of what it is 
  860.          currently looking for and what information it has learned. 
  861.          
  862.          You can turn the trace back off again by entering the TRACE 
  863.          OFF command. 
  864.          
  865.          The GO command is the command to tell ESIE to begin a 
  866.          consultation with the KB that was loaded.  ESIE will continue 
  867.          with this consultation until it is complete or until an error 
  868.          is found in the logic of the KB.  You may not turn trace on 
  869.          or off once a consultation has begun.  If the user types in 
  870.          TRACE ON, TRACE OFF, GO or EXIT in response to a question, 
  871.          then ESIE will treat that as the response to the question. 
  872.          
  873.          Once ESIE has completed the consultation, or found an error 
  874.          in the logic of the KB, it will return you to the top level 
  875.          for additional commands. 
  876.          
  877.          Use the EXIT command in order to leave ESIE and return to 
  878.          DOS.  After a consultation is complete, you have the option 
  879.          of entering ANY of the four commands, including GO, again. 
  880.          
  881.  
  882.  
  883.  
  884.  
  885.  
  886.                                                                Page 15
  887.  
  888.          
  889.                             The ESIE Rule Structure 
  890.          
  891.  
  892.          There are seven types of rules in ESIE.  That's all.  Two of 
  893.          the rule types must be included once and only once, three may 
  894.          be included once or not at all, and the other two may be 
  895.          included from zero up to the maximum number of times, which, 
  896.          as you will see, is quite large. 
  897.          
  898.          If you are familiar with IBM (r) manuals, then you will 
  899.          probably be able to read the following; then again, those 
  900.          never were my favorite manuals.  Below is the syntax for the 
  901.          seven types of rules in ESIE: 
  902.          
  903.               [introtext is <text>]
  904.  
  905.               [legalanswers is/are [<variable>]... *] 
  906.          
  907.               goal is <variable> 
  908.          
  909.               [<ifrule>
  910.                [<andrule>]...
  911.                 <thenrule>]...
  912.          
  913.               [question <variable> is/are <text>]...
  914.          
  915.               answer is/are <text> <variable>
  916.          
  917.               [termtext is <text>]
  918.          
  919.          Where:
  920.          
  921.               <ifrule> is defined as:
  922.          
  923.                   if <variable> is/are <value>
  924.          
  925.                              OR
  926.          
  927.                   if <variable> </=/> <number>
  928.          
  929.          and
  930.          
  931.               <andrule> is defined as:
  932.          
  933.                   and <variable> is/are <value>
  934.          
  935.                              OR
  936.  
  937.                   and <variable> </=/> <number>
  938.          
  939.          and
  940.          
  941.                                                                Page 16
  942.               <thenrule> is defined as:
  943.          
  944.                   then <variable> is/are/=  <value>/<number>
  945.          
  946.          and
  947.          
  948.               <variable> is defined as any string of ascii characters 
  949.                          excluding the space, double quote and 
  950.                          end-of-line up to 100 characters long. 
  951.          
  952.          and
  953.          
  954.               <value> is defined as any string of ascii characters 
  955.                       excluding the space, double quote and 
  956.                       end-of-line up to 100 characters long. 
  957.          
  958.          and
  959.          
  960.               <number> is defined as any integer in the range -32768 
  961.                        through 32767.
  962.          
  963.          and
  964.          
  965.               <text> is defined as:
  966.          
  967.                    "[<any character>]..."
  968.          
  969.          
  970.          Again, capital letters and minors are treated exactly alike 
  971.          as far as ESIE is concerned. 
  972.          
  973.          In the syntax above the '/' means "either or."
  974.          
  975.          The symbol "..." means "repeat as often as desired."
  976.          
  977.          The brackets mean that the item is optional.  You will note 
  978.          that LEGALANSWERS, IF, and QUESTION type rules may not even 
  979.          be included in the KB, although a KB without rules isn't 
  980.          going to be of much use. 
  981.          
  982.          The <text> parts of the above rule types may be any character 
  983.          at all except for the quotation mark.  The quotation mark 
  984.          terminates <text>.  Spaces are allowed in <text>, but double 
  985.          quotation marks, to indicate a single, are not.  The length 
  986.          of <text> is unlimited and may include end-of-line 
  987.          characters, page feeds, or whatever you wish to improve the 
  988.          appearance of your output. 
  989.          
  990.          Let us list some specifics, first, then we will go into what 
  991.          each rule does.  
  992.  
  993.          First, blanks, end-of-line markers, double quotes, and 
  994.          end-of-file markers are the only recognized delimiters in 
  995.          ESIE.  There must be at least one delimiter between any two 
  996.                                                                Page 17
  997.          tokens in the KB.  
  998.  
  999.          All the following are valid <variables> and <values>: 
  1000.          
  1001.               1234567890()*&^%$#@!+_=[]{}
  1002.          
  1003.               ..........................
  1004.          
  1005.               wow!.i.can.type.in.anything
  1006.          
  1007.               WOW!.I.can.TYPE.in.ANYTHING
  1008.          
  1009.          The last two of the above are identical as far as ESIE is 
  1010.          concerned.  Although special characters are valid in 
  1011.          <variables> and <values>, and may even lead such items, it 
  1012.          would be a good idea to stay away from the mathematical 
  1013.          symbols.  ESIE's capability to do more math in the future 
  1014.          might make some of your variables become mathematical 
  1015.          equations. 
  1016.  
  1017.          In this regard, especially look out for the minus sign - it 
  1018.          habitually gets used in multi-word <variables>.  A better 
  1019.          alternative would be to use the period. 
  1020.          
  1021.          The GOAL and ANSWER rules types must be included, and must be 
  1022.          in the KB only once.  If the LEGALANSWERS rule type is 
  1023.          included, it can only be included once. 
  1024.          
  1025.          There is absolutely no requirement that rules be placed in 
  1026.          the KB in any order.  In a fully-structured KB, in fact, the 
  1027.          order of the rules is totally inconsequential, any rule or 
  1028.          any rule type may come before or after any other rule or rule 
  1029.          type.  In some KBs the logical structure is not complete, so 
  1030.          it may be wise to place some rules before others. 
  1031.          
  1032.          Now for some information on what these rules do: 
  1033.  
  1034.          The LEGALANSWERS rule is used to constrict what the end user 
  1035.          of your KB can use as responses.  This is very useful to keep 
  1036.          the end user on track, and to correct him in case of typos or 
  1037.          misunderstandings.  Using LEGALANSWERS can make testing your 
  1038.          KB much easier and more complete.  If LEGALANSWERS is 
  1039.          omitted, then anything the end user types in is a valid 
  1040.          response.  The splat, (*), is used to terminate the 
  1041.          LEGALANSWERS rule.  Although the splat, by itself, is a 
  1042.          totally valid <variable> or <value> we didn't think many of 
  1043.          you would want that as a valid response, so we used it as a 
  1044.          terminator.  
  1045.          
  1046.          The GOAL rule specifies what you are looking for, that is, it 
  1047.          determines what this consultation and KB are all about.  
  1048.          
  1049.          The IF rules are the real meat of any KB.  Here's how they 
  1050.          work:  the <variable> right after the IF is evaluated and 
  1051.                                                                Page 18
  1052.          compared with the <value> after the IS/ARE/</=/>.  If the 
  1053.          value of the variable compares favorably with the <value> 
  1054.          then there is a match and ESIE drives on. 
  1055.          
  1056.          AND parts are compared the same way.  Comparison stops on any 
  1057.          rule were an IF part or an AND part do not compare favorably.  
  1058.          However, if they all compare favorably, then the rule 
  1059.          succeeds and the <variable> immediately after the THEN is set 
  1060.          to the last <value> specified in the rule.  For example: 
  1061.          
  1062.                          if age > 17
  1063.                          and status is alive
  1064.                          then type.person is living.adult
  1065.          
  1066.          Let's assume that age has already been set to 34, that status 
  1067.          has been set to 'alive', and GOAL is TYPE.PERSON.  ESIE 
  1068.          begins looking through the KB, starting at the top, for IF 
  1069.          rules that could satisfy the type.person goal.  When it finds 
  1070.          the above rule it determines that yes, age is > 18 and status 
  1071.          is alive, so the rule succeeds and type.person is set to 
  1072.          living.adult.  At this point evaluation stops and ESIE makes 
  1073.          its report and returns you to the top level. 
  1074.          
  1075.          The QUESTION rules are evoked by ESIE when it has gone 
  1076.          through the entire KB and can find no IF rule that satisfies 
  1077.          what it is currently looking for.  It then checks to see if 
  1078.          it has a question that it can ask the end user so that it may 
  1079.          determine what a <variable> should be.  The <text> part of 
  1080.          the question is displayed and whatever the end user types in 
  1081.          is what <variable> is set to, if the response is legal.  If 
  1082.          LEGALANSWERS has been specified, then the response is checked 
  1083.          to see if it is one of legal ones.  If it is not a legal 
  1084.          response, then ESIE will list the possible responses, and ask 
  1085.          the question again. This will continue until the end user has 
  1086.          selected one of the legal answers.  If it is legal, then the 
  1087.          <variable> specified in the QUESTION rule will be set to the 
  1088.          response.  If LEGALANSWERS has not been specified, then 
  1089.          whatever the user types in is legal. 
  1090.          
  1091.          The ANSWER rule is used only when ESIE is done.  After ESIE 
  1092.          has found the <variable> in the goal statement he will 
  1093.          display the <text> in the answer statement followed by the 
  1094.          value evaluated from the <variable> in the ANSWER rule.  You 
  1095.          will note that you do not have to display the same <variable> 
  1096.          as in the GOAL statement, but that you will often want to. 
  1097.          
  1098.          Getting tired reading yet?  Oh well, just two more:
  1099.          
  1100.          The INTROTEXT rule is used to define text that you want 
  1101.          displayed before a session begins.  The introductory text can 
  1102.          be as long as you want it to be.  ESIE will stop every 22 
  1103.          lines to let the user read what is on the screen.
  1104.          
  1105.          TERMTEXT is used to define text that you want displayed after 
  1106.                                                                Page 19
  1107.          a session is complete.  As with INTROTEXT, the text can be as 
  1108.          long as you want it to be.  ESIE will stop every 22 lines to 
  1109.          let the user read what is on the screen.
  1110.  
  1111.          Now for some limits.  Just how much of all this good stuff 
  1112.          can you enter in a knowledge base?  Lots: 
  1113.          
  1114.               Up to  1000 IF rule lines.
  1115.               Up to   300 QUESTIONs.
  1116.               Up to    50 <variables> for LEGALANSWERS.
  1117.               Up to 12000 bytes of text.
  1118.               Up to   400 different symbols.
  1119.               1 & only  1 GOAL.
  1120.               1 & only  1 ANSWER.
  1121.          
  1122.               In addition, ESIE will look for up to 50 different rules 
  1123.               to satisfy at a time and can learn up to 200 facts 
  1124.               before running out of memory space. 
  1125.          
  1126.          If these parameters do not meet your needs for KB 
  1127.          construction, then please let us know. 
  1128.          
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.                                                                Page 20
  1162.  
  1163.          
  1164.                        What Happens During A Consultation 
  1165.                                            
  1166.          
  1167.          After ESIE has loaded the KB into internal structures, and 
  1168.          the GO command has been issued, ESIE then pushes the GOAL 
  1169.          onto a stack.  The stack contains items to be searched for, 
  1170.          currently looking for the one at the top of the stack.  Then 
  1171.          ESIE looks through the IF rules for a conclusion that matches 
  1172.          the current stack.  When one is found then ESIE looks through 
  1173.          the comparators, one at a time, until one is found to not 
  1174.          compare to its value, or they are all found to compare 
  1175.          favorably.
  1176.          
  1177.          If it does not compare favorably then the variable is pushed 
  1178.          onto the stack.  ESIE continues in this fashion.  When ESIE 
  1179.          can not find an IF rule in the KB with a conclusion identical 
  1180.          to what is on the stack then ESIE turns to the QUESTIONs and 
  1181.          LEGALANSWERS to get information from the end user.  Any legal 
  1182.          response is what the <variable> is set to.  
  1183.          
  1184.          Often ESIE does not need to push anything on the stack as all 
  1185.          the IF and AND parts of rule compare favorably.  In this case 
  1186.          the rule succeeds and the conclusion <variable> is set to the 
  1187.          <value>.  
  1188.          
  1189.          In this way ESIE continues to get information and pop search 
  1190.          items off the stack until it learns what the GOAL variable 
  1191.          is, or until ESIE has searched the entire KB and found 
  1192.          nothing.  In the latter case ESIE reports an error in the 
  1193.          knowledge base and returns you to the top level.  In the 
  1194.          former, ESIE reports the ANSWER <text> and <variable> and 
  1195.          returns you to the top level. 
  1196.          
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.                                                                Page 21
  1217.  
  1218.                   
  1219.                Paying For and Obtaining the Next Version of ESIE 
  1220.          
  1221.          
  1222.          Now comes the part we all hate to discuss.  What is ESIE 
  1223.          going to cost?  Well, that is totally up to you.  We happen 
  1224.          to believe that most people are honest and will pay for 
  1225.          something they find useful.  We also believe that most 
  1226.          software costs too much, and that most AI software costs much 
  1227.          too much.  We dislike copy protection schemes and there are 
  1228.          none in ESIE. And we believe that you will want to see ESIE 
  1229.          grow and be supported. 
  1230.          
  1231.          If your contribution meets or exceeds $145 you will receive: 
  1232.          a copy of the ESIE distribution diskette for the latest 
  1233.          and/or next version (you will receive both if the latest 
  1234.          version is 2.0), professionally bound and printed copies of 
  1235.          the manuals, a copy of PC-Write (C) (a very slick text editor 
  1236.          usable with ESIE), access to the ESIE help line, and our very 
  1237.          sincere thanks for supporting us in this effort. 
  1238.          
  1239.          We think of ESIE as living software: software that continues 
  1240.          to develop and get better, more powerful.  We believe ESIE is 
  1241.          a useful tool as it is, but can be improved.  However, 
  1242.          support for living software must come from somebody.  Even us 
  1243.          software authors and AI researchers can't live on discovery 
  1244.          and love alone.  In shareware this support comes from you - 
  1245.          the user. 
  1246.          
  1247.          If you happen to be working for a company and are considering 
  1248.          ESIE as your ESS of choice, then we have two additional 
  1249.          options available to you.  First, you may order ESIE using a 
  1250.          valid purchase order.  Second, if you want more than one 
  1251.          person to get complete support for ESIE, including access to 
  1252.          our technical help line, we have volume discounts. 
  1253.  
  1254.          If you like the ESIE product, and would like to incorporate 
  1255.          ESIE into an existing or future product, then Lightwave may 
  1256.          license the source code to you.  Such licenses require 
  1257.          written contracts and trust funds. 
  1258.  
  1259.          Mail for ESIE may be sent to: 
  1260.          
  1261.                                    Lightwave
  1262.                                  P.O. Box 16858
  1263.                                 Tampa, FL  33617
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.                                                                Page 22
  1272.                   
  1273.  
  1274.                         Answers to Often Asked Questions
  1275.          
  1276.          
  1277.          How do you pronounce ESIE?
  1278.          
  1279.               ESIE is pronounced exactly as you would pronounce the 
  1280.               word "easy."
  1281.          
  1282.          What is an Inference Engine?
  1283.  
  1284.               An inference engine is a computer system that mimics the 
  1285.               process of human thought.  It attempts to distill the 
  1286.               human reasoning process into a computer program.
  1287.  
  1288.          What would I use ESIE for?
  1289.          
  1290.               ESIE can be used in any place a human expert would be 
  1291.               used.  The best places for the use of ESIE are in 
  1292.               situations where the experts in that field are hard to 
  1293.               come by or are too expensive to hire. 
  1294.          
  1295.               This does not mean that ESIE should be used only on say, 
  1296.               space missions, but any place where there is not enough 
  1297.               qualified people to do the job.  Using ESIE, it is 
  1298.               possible to provide enough support to a non-expert to 
  1299.               enable him or her to complete the task effectively. 
  1300.  
  1301.          I'm new to this AI stuff, where should I start?
  1302.          
  1303.               Start with ESIE.  ESIE is an excellent tool for the 
  1304.               newcomer in AI.  Manuals included with ESIE give you an 
  1305.               idea of what AI is all about, and guides you through the 
  1306.               process of building your own knowledge base.  After 
  1307.               that, the experts at Lightwave can help you build real 
  1308.               systems that can prove beneficial to you and your 
  1309.               company. 
  1310.          
  1311.          Someone I know wants to use ESIE, can I give him a copy?
  1312.          
  1313.               Absolutely.  ESIE, although copyrighted, may be copied 
  1314.               and shared.  The only requirement is that the copy you 
  1315.               give him is a duplicate of the distribution diskette. 
  1316.  
  1317.          
  1318.          What enhancements are planned for the next version?
  1319.          
  1320.               Our list of possible enhancements to ESIE is quite 
  1321.               large, and we are eager to put them all into play.  
  1322.               Which ones we implement first will depend on input from 
  1323.               our user community. 
  1324.          
  1325.          I want my question text to span several lines on the screen.  
  1326.                                                                Page 23
  1327.          How do I do that? 
  1328.          
  1329.               Nothing special is required.  ESIE currently supports 
  1330.               text with any character used except for the double 
  1331.               quote.  Therefore, your text can span as many lines as 
  1332.               you want it to.
  1333.          
  1334.          I know absolutely nothing about computers.  Can I use ESIE?
  1335.          
  1336.               Yes.  A majority of ESIE users are also first time 
  1337.               computer users.  Many report having little or no 
  1338.               problems in turning themselves into successful knowledge 
  1339.               engineers. 
  1340.          
  1341.          Who are some of Lightwave's paying customers for ESIE?
  1342.  
  1343.               AT&T, Bell Labs, the U.S Navy, the U.S. Department of 
  1344.               Agriculture, the Italian National Assembly, NASA, the 
  1345.               European Space Agency, and Control Data can all be 
  1346.               counted among our satisfied customers. 
  1347.          
  1348.          What is Lightwave's phone number?
  1349.          
  1350.               As Lightwave is a growing company we are subject to move 
  1351.               at any time.  As we have no control over who is using 
  1352.               our software in the field, we cannot give every user our 
  1353.               new phone number.  Therefore, we have not included our 
  1354.               phone number in the manuals or programs.  For this same 
  1355.               reason we use a post office box as our mailing address.  
  1356.               Requests to our mailing address will net you our current 
  1357.               phone number. 
  1358.          
  1359.          Is Lightwave a real business?
  1360.          
  1361.               Yes.  Our company name changed recently from Lightwave 
  1362.               Consultants to Lightwave.  The name change reflects our 
  1363.               changing direction from consulting to software.  
  1364.               Lightwave's primary customers still are firms that 
  1365.               request contract programmers in the Tampa Bay area of 
  1366.               Florida.  As these contracts expire, and sales in 
  1367.               software gain strength, Lightwave will turn into a major 
  1368.               software house. 
  1369.          
  1370.          ESIE is a great product, but I'm looking for something a 
  1371.          little different.  I need a tool to manipulate and analyze 
  1372.          text or datum for logical or mathematical context.  Where do 
  1373.          I turn?
  1374.          
  1375.               The best place to turn for this type of Artificial 
  1376.               Intelligence tool is:
  1377.  
  1378.                    Mike Pincus
  1379.                    Thunderstone Corporation
  1380.                    P.O. Box 839
  1381.                                                                Page 24
  1382.                    Chesterland, OH  44026
  1383.          
  1384.               Thunderstone makes several tools that work in this area 
  1385.               of AI.  The tools are excellent and the price is right.
  1386.  
  1387.          What exactly is a rule line?
  1388.          
  1389.               A rule line is an IF <variable> <value> pair.  For 
  1390.               example: 
  1391.          
  1392.                         if age < 10
  1393.                         then type.person is child
  1394.          
  1395.               has two rule lines, while:
  1396.          
  1397.                         if age > 18
  1398.                         and status is alive
  1399.                         then type.person is living.adult
  1400.          
  1401.               has three.
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.                                                                Page 25
  1437.  
  1438.          
  1439.                            Enhancements Made to ESIE
  1440.          
  1441.          
  1442.          Below is a list of enhancements made to ESIE version 1.1 that 
  1443.          make up version 2.0.
  1444.          
  1445.          Added speed.  Several algorithms are changed to increase 
  1446.          ESIE's speed.
  1447.  
  1448.          A bug was fixed: in version 1.1, if the item on top of the 
  1449.          stack could not be satisfied, then everything was popped off 
  1450.          the stack except the goal and ESIE would continue from there.  
  1451.          In 2.0, only the top element of the stack is popped off and 
  1452.          execution then continues from that point.  This fix repairs 
  1453.          the problem of an answer being in the knowledge base but 
  1454.          never being found.  
  1455.          
  1456.          Oddly, this problem was never reported from the field.  It 
  1457.          appears as though users are designing knowledge bases where 
  1458.          this capability is not required.  Drawbacks: this fix 
  1459.          significantly slows down ESIE, negating the increased speed 
  1460.          gained from other changes.  If users request that this fix be 
  1461.          removed, it may be removed for version 3.0. 
  1462.          
  1463.          The places in the KB where <text> is specified may now have 
  1464.          unlimited quantities of said text.  The maximum that may be 
  1465.          specified in any KB is now 12,000 total bytes or characters.
  1466.  
  1467.          Version 2.0 allows users to type ahead.  Users can now enter 
  1468.          responses to ESIE prompts before ESIE is ready to accept 
  1469.          them.  This type ahead includes the prompt for KB file name.  
  1470.          Drawbacks: this change disables the DOS ctrl-prtsc option 
  1471.          that copies screen output to the attached printer.
  1472.  
  1473.          Better KB read algorithms are incorporated for 2.0.  More 
  1474.          error detection is done on the KB before run time.  The KB is 
  1475.          also read in faster, but the storing of tokens in ESIE 
  1476.          internal format negates the increase in speed. 
  1477.  
  1478.          2.0 of ESIE adds the capability for limited numerical 
  1479.          comparisons in the KB.  Both the IF and the AND parts of 
  1480.          rules may specify a math operator instead of the standard 
  1481.          IS/ARE.  The valid math operators are: '<', '>', and '='.  If 
  1482.          a math operator is specified, then the token following the 
  1483.          operator must be an integer in the range -32768 to 32767.  
  1484.          ESIE functions on these operators instead of direct 
  1485.          equivalence comparisons.
  1486.  
  1487.          ESIE may now be configured for different type monitors.  If a 
  1488.          color monitor is attached, then the 16 different colors may 
  1489.          be selected for each of: background, question text, user 
  1490.          response text, toplevel text, result and trace text, and 
  1491.                                                                Page 26
  1492.          error text.
  1493.  
  1494.          Version 2.0 of ESIE greatly expands the limits imposed on 1.1 
  1495.          users.  Rules lines are now at 1000, questions at 300, cache 
  1496.          at 200, stack stays at 50, and legalanswers stay at 50.  A 
  1497.          new, internal data format, the symbol table, is restricted to 
  1498.          400 different tokens.  This means that 400 different 
  1499.          variables and values can be specified in the KB and in user 
  1500.          responses.  If a legalanswers statement was included, then 
  1501.          user responses will always match those tokens.
  1502.          
  1503.          Added the capability for introductory text to explain the KB. 
  1504.          
  1505.          Added the capability for terminating text, to explain the 
  1506.          conclusion more fully. 
  1507.          
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.                                                                Page 27
  1547.  
  1548.  
  1549.                               ESIE Error Messages
  1550.          
  1551.          
  1552.          Below is the list of error messages you might encounter while 
  1553.          operating ESIE.  As the error messages are straightforward, 
  1554.          no suggested corrective action is given. 
  1555.          
  1556.          Configuration file not found.  Please execute the program 
  1557.          CONFIG before continuing. 
  1558.  
  1559.          File ,<filename>, does not exist.  Do you wish to try again? 
  1560.          (Y/N) 
  1561.  
  1562.          Symbol table space exhausted.  Please reduce number of 
  1563.          vars/values. 
  1564.  
  1565.          Text string found where variable/value expected. 
  1566.  
  1567.          Too much question/answer text in Knowledge Base.  Please 
  1568.          reduce. 
  1569.  
  1570.          There are too many rules in the Knowledge Base.
  1571.  
  1572.          There are too many questions in the Knowledge Base.
  1573.  
  1574.          Too many legalanswers encountered in the LEGALANSWERS rule. 
  1575.  
  1576.          Number does not follow mathematical rule in Knowledge Base. 
  1577.          Token is: <token> 
  1578.  
  1579.          Goal encountered more than once in Knowledge Base. 
  1580.  
  1581.          Answer statement encountered more than once in Knowledge 
  1582.          Base. 
  1583.  
  1584.          LEGALANSWERS has been specified more than once in the 
  1585.          knowledge base. 
  1586.  
  1587.          INTROTEXT has been specified more than once in the knowledge 
  1588.          base. 
  1589.  
  1590.          TERMTEXT has been specified more than once in the knowledge 
  1591.          base. 
  1592.  
  1593.          Invalid rule found in Knowledge Base. Invalid rule begins 
  1594.          with: <token> 
  1595.  
  1596.          Goal statement not found in the Knowledge Base. 
  1597.  
  1598.          Answer statement not found in the Knowledge Base. 
  1599.  
  1600.          Stack limit exceeded (search space exhausted). 
  1601.                                                                Page 28
  1602.  
  1603.          Cache space exhausted.  No room for learned information. 
  1604.  
  1605.          I'm sorry, but <answer> is not acceptable. Please choose your 
  1606.          answer from one of these: 
  1607.  
  1608.          Error in Knowledge Base. <goal> searched for but not found. 
  1609.          
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.                                                                Page 29
  1657.  
  1658.  
  1659.                                Concluding Remarks
  1660.          
  1661.          
  1662.          We at Lightwave think ESIE is a great program.  However, this 
  1663.          program is only going to get better through your input, both 
  1664.          in the form of suggestions for improving this product and in 
  1665.          financial support. 
  1666.          
  1667.          We wish to thank all of those who have given us positive 
  1668.          input in the past. 
  1669.          
  1670.          We hope that we are satisfying some need for our users and 
  1671.          that we are encouraging the learning and spread of Artificial 
  1672.          Intelligence.
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.