The (facts)command will list all current facts. The part is the response from CLIPS to say that a new fact (fact number 0) has been placed on the fact database. Here’s an example, complete with the response from CLIPS: A fact is a piece of information such as (color green) or (parent_of John Susan).įacts are created by asserting them onto the fact database using the assert command. Facts and rulesĪt its most basic, CLIPS operates by maintaining a list of facts and a set of rules which operate on them. The above commands can also be executed from the CLIPS menu bar. Removes facts information from memory (but not rules) and resets the Here is a list of some important commands: (exit) Note that CLIPS commands are always encased in brackets thus: (assert (foo)). To exit CLIPS, type (exit) or shut down the program like any other windows application. For the time being, this is where you type in your commands and programs. You’ll get a window with nothing in itīut the command prompt CLIPS>. To start CLIPS, double-click on the CLIPSWin.exe file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |