chapter07 - Chapter 7: Introduction to CLIPS Expert...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 7: Introduction to CLIPS Expert Systems: Principles and Programming, Fourth Edition
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Expert Systems: Principles and Programming, Fourth Edition 2 What is CLIPS? CLIPS is a multiparadigm programming language that provides support for: Rule-based Object-oriented Procedural programming Syntactically, CLIPS resembles: Eclipse CLIPS/R2 JESS
Background image of page 2
Expert Systems: Principles and Programming, Fourth Edition 3 Other CLIPS Characteristics CLIPS supports only forward-chaining rules. The OOP capabilities of CLIPS are referred to as CLIPS Object-Oriented Language (COOL). The procedural language capabilities of CLIPS are similar to languages such as: C Ada Pascal Lisp
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Expert Systems: Principles and Programming, Fourth Edition 4 CLIPS Characteristics CLIPS is an acronym for C L anguage I ntegrated P roduction S ystem. CLIPS was designed using the C language at the NASA/Johnson Space Center. CLIPS is portable – PC CRAY.
Background image of page 4
Expert Systems: Principles and Programming, Fourth Edition 5 CLIPS Notation Symbols other than those delimited by < >, [ ], or { } should be typed exactly as shown. [ ] mean the contents are optional and < > mean that a replacement is to be made. * following a description means that the description can be replaced by zero or more occurrences of the specified value.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Expert Systems: Principles and Programming, Fourth Edition 6 CLIPS Notation Descriptions followed by + mean that one or more values specified by description should be used in place of the syntax description. A vertical bar | indicates a choice among one or more of the items separated by the bars.
Background image of page 6
Expert Systems: Principles and Programming, Fourth Edition 7 Fields To build a knowledge base, CLIPS must read input from keyboard / files to execute commands and load programs. During the execution process, CLIPS groups symbols together into tokens – groups of characters that have the same meaning. A field is a special type of token of which there are 8 types.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Expert Systems: Principles and Programming, Fourth Edition 8 Numeric Fields The floats and integers make up the numeric fields – simply numbers. Integers have only a sign and digits. Floats have a decimal and possibly “e” for scientific notation.
Background image of page 8
Expert Systems: Principles and Programming, Fourth Edition 9 Symbol Fields Symbols begin with printable ASCII characters followed by zero or more characters, followed by a delimiter. CLIPS is case sensitive.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 String Fields Strings must begin and end with double quotation marks. Spaces w/in the string are significant. The actual delimiter symbols can be included in a
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/12/2010 for the course IT expert sys taught by Professor Dr. during the Spring '10 term at Dubai Aerospace Enterprise University.

Page1 / 40

chapter07 - Chapter 7: Introduction to CLIPS Expert...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online