View the step-by-step solution to:

Concordia University Department of Computer Science and Software Engineering COMP474/6744 Project 3 Fall 2012 Due Date November 30, 12:00 pm noon...

how to solve this problem which i have attached through pdf

Concordia University Department of Computer Science and Software Engineering COMP474/6744 Project 3 Fall 2012 Due Date November 30, 12:00 pm noon 2012 You are to solve each problem individually. The project has to be submitted electronically as “project 3”. The solution for each problem listed below has to be submitted as a separate .clp file. You should have the following: a1-1.clp , a1-2.clp , a1-3.clp and a1-4.clp . The files have to include the header stating your names and student IDs. A brief report covering all parts of the assignment in one .pdf file has to be submitted with the code, describing all the design decisions you have made while implementing the system. You can put all the files for your submission in a .zip archive, so you don’t have to submit each file separately 1 Write a CLIPS program that aids in the selection process of a suitable shrub for planting. The table below lists several shrubs and indicates whether each shrub possesses certain characteristics, which include tolerance to cold weather, tolerance to shade, tolerance to drought, tolerance to wet soil, tolerance to acidic soil, tolerance to city dwelling (high pollution), tolerance to growth in a container, whether the shrub is easy to care for, and whether the shrub is fast- growing. A bullet indicates the shrub has the characteristic. Input to the program should be facts indicating a desired characteristic that the shrub must have, and the output should be a list of the plants having each specified characteristic. 2 Modify the program developed for Problem 1 so that the input is determined by asking the user a series of questions regarding the necessary characteristics of a shrub. The output of the program should be the same. 3 Modify the program developed for Problem 2 so that only the shrubs having all the necessary char- acteristics are listed. For example, if the user specifies that the plant must tolerate cold and drought, then only northern bayberry and common juniper should be listed. If none of the shrubs meet all requirements, then a message should be printed to indicate this. 4 Modify the program developed for Problem 3 so that if none of the shrubs meet all requirements, the shrubs meeting the most requirements are listed. The number of requirements satisfied should be printed. Note: the use of the “if-then” construct and of salience in CLIPS is to be avoided. Use of these crutches for this simple programming exercise will not allow you to appreciate the structure and workings of the rule-based expert systems ideas. Points will be lost when “if-then” or “salience” is used. 1
Background image of page 1
Shrub Cold Shade Drought Wet Soil Acid Soil City Pot Easy Care Grow Fast French hydrangea Oleander Northern bayberry Box Honeysuckle Gardenia Common Juniper Sweet pepperbush Tartarian dogwood Japanese aucuba Swamp azalea
Background image of page 2
Sign up to view the entire interaction

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question