|
OPS Programming Language
|
|||||||||||
Overview: Carnegie-Mellon University scientists Herbert Simon and Allen Newell have investigated human problem-solving processes for many decades. One of their ideas, the production system, represents knowledge as a set of condition-action rules (also called "if-then rules"). If the conditions for a rule are satisfied, the rule's specified action occurs. In the late 70s, Charles Forgy developed OPS5, a programming language which embodies this idea. The production system became the dominant knowledge representation methodology in expert systems, and OPS5 became popular among expert system developers. OPS5 stores data in working memory, and if-then rules in production memory. Rules in OPS5 are completely independent of one another. They can be placed in production memory in any order. If the data in working memory match the conditions of a rule in production memory, the rule's actions take place. Possible actions include modifying the contents of working memory (which might then match the conditions of another rule), reading information from a file, displaying information on the screen, and calling external programs. In some versions of the language, a rule's actions can cause a new rule to be created, allowing the development of systems that learn. OPS5's built-in inference mechanism, forward chaining, starts from a set of data in working memory and causes a sequence of rules to be applied until a goal is satisfied. The other prominent expert system inferencing procedure is backward chaining, in which a goal to be achieved causes subgoals to be satisfied until a problem solution is found. Backward chaining can be implemented in OPS5 with some work. (Reference: LANGUAGES OF AI by Joseph Schmuller, September/October 1991, page 21)
Glossary Link - OPS Programming Language
|
Tool - PD OPS5 | Public domain implementation of an OPS5 interpreter. Uploadable using FTP. |
Production Systems Technology | Phone: (412)683-4000, Fax: (412)683-6347, Email: info@pst.com |
Lycos | Yahoo | InfoSeek | Alta Vista |
Three Case Histories: Ops83 At Work | Czajkowski, A. (1990) PC AI, 4(1), 30. |
OPS Languages | Forgy, C. (1995) PC AI, 9(5), 16. |
Programming Expert Systems in OPS 5 | Brownston, L., Farrell, R., Kant, E., Martin, N. (1985) Reading MA: Addison-Wesley, pps 471 |
|
Rule-Based Programming in OPS 5 | Cooper, T. and Wogrin, N. (1988) San Mateo, CA: Morgan-Kaufmann |
Other AI Info Categories
|
||||
|
|
|
|
|