Questions tagged [clips]

CLIPS is an acronym for C Language Integrated Production System, rules-based programming framework designed for building expert systems.

CLIPS is an acronym for C Language Integrated Production System.

It is a rules-based programming framework designed for building expert systems. Its programming language COOL is similar to LISP and allows object-oriented as well as procedural programming. CLIPS itself is written in C and can be embedded in programs of other languages.

CLIPS core is a forward-chaining inference engine based on the Rete algorithm designed by Dr. Charles L. Forgy of Carnegie Mellon University.

It was developed starting 1985 at NASA to replace the existing LISP based expert system building tool ART*Inference and released into the public domain in the 1990s.

The original name of CLIPS was NASA's AI Language(NAIL).
Links:
CLIPS Web Site
CLIPS source forge

733 questions
-1
votes
1 answer

How can you vary the facts using lists in clipspy

I have tried to vary the facts using lists and a cycle for but I have not succeeded, The way I tried it is to create a list for each variable in the template and then apply an cycle for but it didn't work. The example python code in which I have…
-1
votes
1 answer

CLIPS: How can I allow users to input sentences as answers? Jasmine Flower Guess

Im currently working on a CLIPS program that guesses the name of the jasmine flower based only on the flower color and season, but I don't know how to use sentences as possibles answers to be able to get answers like "spring to autumn" Here's the…
-1
votes
1 answer

CLIPS PROGRAMMING: How to count how many facts that are 'yes'?

I'm new to clips programming and I'm currently developing an expert system for mental health illness (anxiety). The way how my system works is after the user has answered all the questions such as " Do you have excessive worry? ", "Do you feel…
Syed
  • 3
  • 3
-1
votes
1 answer

CLIPS: counting different products

I have some facts in the form of a list: (list day1 apple milk bread) (list day 2 bread milk) and I would like to count the different products in that facts for each day. How can I count them? The result that I want is (list day1 3) (list day2 2)
-1
votes
1 answer

How can we call a defrule inside another defrule?

I am totally new to CLIPS and I would like to know how could we call a defrule inside another defrule. For example if one rule does a regular job like printing or swapping, and another rule wants to call it after doing pattern-matching itself; how…
user47
  • 141
  • 7
-1
votes
1 answer

Creating CLIPS Native Library on a Windows Docker Container

I'm trying to create the CLIPS native library as a title. I've follow this guide, but unfortunately in my Docker container i have installed an Alpine Linux distro. 10.6.3 Creating the Native Library On Linux Launch the Terminal application (as…
user3254491
  • 119
  • 1
  • 3
  • 10
-1
votes
1 answer

Rule Doesn't Execute

I am currently creating an expert system to ask the user questions, which the answers will determine what the animal is? e.g. is the animal big? if user says yes - go on to relevant question - does it have long neck - if yes - it is a giraffe. When…
user12468958
-1
votes
1 answer

Having list with values. If item exists several times, add value?

I want to get started with CLIPS, trying to realize a very simple task: Item1 = 5 Item2 = 7 Item3 = 8 Item1 = 10 Lets say I have the variables or assignments above. Now I want a script to order the Items that have the min value to the max value.…
isabelle
  • 3
  • 3
-1
votes
1 answer

How to test the performance of Clips?

I have a problem with the performance testing of Clips.What performance needs to be tested about Clips?How do I test its performance?And how do I design some typical rules and data to test the performance of Clips. I have been learning Clips…
-1
votes
1 answer

Clips passing a multivalued variable to a deffunction

I am currently writing a program that will simulate the propositional laws. I have received a function my-test to determine whether certain characters are in a string and i works fine if i pass only a single slot variable but it won#t accept a…
-1
votes
1 answer

In the CLIPS C API , is there a way to execute a command within the context of a particular module?

Using the C API, how can I execute a CLIPS command in the context of a particular module? For example if I have defined a fact template in module FOO, how can I assert an instance of that fact? Evaluating (set-current-module FOO) doesn't cut it, if…
-1
votes
1 answer

How can I create sub-questions?

Well, the title says it all I'm a student and I was sent to make an expert system in CLIPS with 100 questions. So I decided to do 10 main questions (let's call them A, B, C, D, E, F, G, H, I, J) and each one is broken down (A1, B1, C1, D1, E1, F1,…
-1
votes
2 answers

why my rule can not fire? how to make it?

(defrule myrule (and (s (time 1803)) (f1 (start ?s1)) (f2 (start ?s2)) (f3 (start ?s3)) ) => if(< ?s1 7) then (bind ?s1 (+ ?s1 24)) if(< ?s2 7) then (bind ?s2 (+ ?s2 24)) if(< ?s3 7) then (bind ?s3 (+ ?s3…
-1
votes
1 answer

Delete all words from sentense that are shorter that 4 letters

I want to delete all words from sentense that are shorter that 4 letters. Print result sentence and count of deleted words. Print result on the screen and in the text file. CLIPS Expert System. There are few guides all over the internet
IchigoWalker
  • 145
  • 8
-1
votes
2 answers

binary tree with CLIPS

In clips I have the try implement a binary tree structure, i know how implement binary tree in other language but i can't representation my Knowledge . I am beginner in CLIPS. my try: (deftemplate root (slot lchild) (slot rchild) …
negar
  • 3
  • 2
1 2 3
48
49