fbpx
Wikipedia

CLIPS

CLIPS is a public domain software tool for building expert systems. The name is an acronym for "C Language Integrated Production System." The syntax and name were inspired by Charles Forgy's OPS5. The first versions of CLIPS were developed starting in 1985 at NASA-Johnson Space Center (as an alternative for existing system ART*Inference) until the mid-1990s when the development group's responsibilities ceased to focus on expert system technology. The original name of the project was "NASA's AI Language" (NAIL).

CLIPS
Paradigmexpert systems
First appeared1985
Websitehttps://clipsrules.net

CLIPS was probably the most widely used expert system tool as of 2005.[1] CLIPS itself is written in C, extensions can be written in C, and CLIPS can be called from C. Its syntax resembles that of the programming language Lisp.[2]

CLIPS incorporates a complete object-oriented language for writing expert systems. COOL combines the programming paradigms of procedural, object oriented and logical (theorem proving) languages.[3]

Facts and rules edit

CLIPS uses forward chaining.[4][2] Like other expert system languages, CLIPS deals with rules and facts. Various facts can make a rule applicable. An applicable rule is then fired.[4] Facts and rules are created by first defining them, as shown below:

 (deftemplate car_problem  (slot name)  (slot status))  (deffacts trouble_shooting  (car_problem (name ignition_key) (status on))  (car_problem (name engine) (status wont_start))  (car_problem (name headlights) (status work)))  (defrule rule1  (car_problem (name ignition_key) (status on))  (car_problem (name engine) (status wont_start))  =>  (assert (car_problem (name starter) (status faulty)))) 

Having set this up, the (reset) command causes CLIPS to read the facts and rules. In this case, that would lead to the three "trouble_shooting" facts being asserted. Then the (run) command is used. Given that the two facts listed in rule1 have both been asserted, the conditions for doing its action have been met so the additional fact is asserted as a result of the run.

CLIPS> (reset) CLIPS> (agenda) 0 rule1: f-1,f-2 For a total of 1 activation. CLIPS> (facts) f-0 (initial-fact) f-1 (car_problem (name ignition_key) (status on)) f-2 (car_problem (name engine) (status wont_start)) f-3 (car_problem (name headlights) (status work)) For a total of 4 facts. CLIPS> (run) CLIPS> (facts) f-0 (initial-fact) f-1 (car_problem (name ignition_key) (status on)) f-2 (car_problem (name engine) (status wont_start)) f-3 (car_problem (name headlights) (status work)) f-4 (car_problem (name starter) (status faulty)) For a total of 5 facts. CLIPS> (assert <fact>+)  (Assert (object (name "chair") (Material wood) (height 3feet) (Color brown)) CLIPS(retract <fact-index+) (retract 0) for a color 

In CLIPS, salience allows a user to assign priority (or weight) to a rule.

Descendants edit

Descendants of the CLIPS language include Jess (rule-based portion of CLIPS rewritten in Java, it later grew up in different direction),[5] and FuzzyCLIPS (which adds concept of relevancy into the language).

See also edit

References edit

  1. ^ Di Stefano, Antonella; Gangemi, Francesc; Santoro, Corrado (2005). ERESYE: artificial intelligence in Erlang programs. Proceedings of the 2005 ACM SIGPLAN workshop on Erlang. Tallinn, Estonia: ACM. pp. 62–71. doi:10.1145/1088361.1088373. ISBN 1-59593-066-3.
  2. ^ a b Giarratano, Joseph C; Riley, Gary D (2005). Expert Systems: Principles and Programming. Boston: Thomson. ISBN 81-315-0167-1.
  3. ^ Riley, Gary (30 Nov 2017). CLIPS Reference Manual: Volume 1 - Basic Programming Guide (PDF). Retrieved 29 April 2023.
  4. ^ a b Sandeep, K; Rakesh, K (2011), "CLIPS based decision support system for water distribution networks", Drinking Water Engineering and Science, 4 (1): 37–50, doi:10.5194/dwes-4-37-2011
  5. ^ Goyal, R; Jayasudha, T; Pandey, P; Devi, R. D; Rebecca, A; Sarma, M. Manju; Lakshmi, B (2014), "Knowledge based system for Satellite data product selection", The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 40 (8): 1233–1236 "JESS was originally inspired by the CLIPS expert system shell, but has grown into a complete, distinct Java-influenced environment of its own."

External links edit

  • NASA CLIPS: downloads, information, news, and history
  • CLIPS expert system tool: a candidate for the Diagnostic System engine
  • CLIPS tutorial on Code Project
  • Code editor for CLIPS

clips, confused, with, clisp, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jsto. Not to be confused with CLISP This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources CLIPS news newspapers books scholar JSTOR September 2013 Learn how and when to remove this message CLIPS is a public domain software tool for building expert systems The name is an acronym for C Language Integrated Production System The syntax and name were inspired by Charles Forgy s OPS5 The first versions of CLIPS were developed starting in 1985 at NASA Johnson Space Center as an alternative for existing system ART Inference until the mid 1990s when the development group s responsibilities ceased to focus on expert system technology The original name of the project was NASA s AI Language NAIL CLIPSParadigmexpert systemsFirst appeared1985Websitehttps clipsrules net CLIPS was probably the most widely used expert system tool as of 2005 1 CLIPS itself is written in C extensions can be written in C and CLIPS can be called from C Its syntax resembles that of the programming language Lisp 2 CLIPS incorporates a complete object oriented language for writing expert systems COOL combines the programming paradigms of procedural object oriented and logical theorem proving languages 3 Contents 1 Facts and rules 2 Descendants 3 See also 4 References 5 External linksFacts and rules editCLIPS uses forward chaining 4 2 Like other expert system languages CLIPS deals with rules and facts Various facts can make a rule applicable An applicable rule is then fired 4 Facts and rules are created by first defining them as shown below deftemplate car problem slot name slot status deffacts trouble shooting car problem name ignition key status on car problem name engine status wont start car problem name headlights status work defrule rule1 car problem name ignition key status on car problem name engine status wont start gt assert car problem name starter status faulty Having set this up the reset command causes CLIPS to read the facts and rules In this case that would lead to the three trouble shooting facts being asserted Then the run command is used Given that the two facts listed in rule1 have both been asserted the conditions for doing its action have been met so the additional fact is asserted as a result of the run CLIPS gt reset CLIPS gt agenda 0 rule1 f 1 f 2 For a total of 1 activation CLIPS gt facts f 0 initial fact f 1 car problem name ignition key status on f 2 car problem name engine status wont start f 3 car problem name headlights status work For a total of 4 facts CLIPS gt run CLIPS gt facts f 0 initial fact f 1 car problem name ignition key status on f 2 car problem name engine status wont start f 3 car problem name headlights status work f 4 car problem name starter status faulty For a total of 5 facts CLIPS gt assert lt fact gt Assert object name chair Material wood height 3feet Color brown CLIPS retract lt fact index retract 0 for a color In CLIPS salience allows a user to assign priority or weight to a rule Descendants editDescendants of the CLIPS language include Jess rule based portion of CLIPS rewritten in Java it later grew up in different direction 5 and FuzzyCLIPS which adds concept of relevancy into the language See also editConstraint Handling Rules Drools OpenL TabletsReferences edit Di Stefano Antonella Gangemi Francesc Santoro Corrado 2005 ERESYE artificial intelligence in Erlang programs Proceedings of the 2005 ACM SIGPLAN workshop on Erlang Tallinn Estonia ACM pp 62 71 doi 10 1145 1088361 1088373 ISBN 1 59593 066 3 a b Giarratano Joseph C Riley Gary D 2005 Expert Systems Principles and Programming Boston Thomson ISBN 81 315 0167 1 Riley Gary 30 Nov 2017 CLIPS Reference Manual Volume 1 Basic Programming Guide PDF Retrieved 29 April 2023 a b Sandeep K Rakesh K 2011 CLIPS based decision support system for water distribution networks Drinking Water Engineering and Science 4 1 37 50 doi 10 5194 dwes 4 37 2011 Goyal R Jayasudha T Pandey P Devi R D Rebecca A Sarma M Manju Lakshmi B 2014 Knowledge based system for Satellite data product selection The International Archives of the Photogrammetry Remote Sensing and Spatial Information Sciences 40 8 1233 1236 JESS was originally inspired by the CLIPS expert system shell but has grown into a complete distinct Java influenced environment of its own External links editNASA CLIPS downloads information news and history CLIPS expert system tool a candidate for the Diagnostic System engine CLIPS tutorial on Code Project Code editor for CLIPS Retrieved from https en wikipedia org w index php title CLIPS amp oldid 1182040537, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.