Plz check this solution of CS607......mera subject nahi hai.....aap khud hi ghaur kar laina...........:)
1)
;Rule header
(defrule isDiagnose)
;Patterns
(Patient ( Temperature "101 degree Fahrenheit" ) (spots "yellow") (rash "red") (throat "infected"))
;THEN
=>
;ACTIONS
(assert (Diagnose (Disease "allergy"))
2)
;Rule header
(defrule isTreatment)
;Patterns
(Diagnose (Disease "allergy"))
;THEN
=>
;ACTIONS
(assert (Treatment (Medicine "Novidat") (Medicine " Evil"))
SOLUTION:
(1)
;Rule header
(defrule isDiagnose)
;Patterns
(Patient ( Temperature "101 degree Fahrenheit" ) (spots "yellow") (rash "red") (throat "infected"))
;THEN
=>
;ACTIONS
(assert (Diagnose (Disease "allergy"))
(2)
;Rule header
(defrule isTreatment)
;Patterns
(Diagnose (Disease "allergy"))
;THEN
=>
;ACTIONS
(assert (Treatment (Medicine "Novidat") (Medicine " Evil"))
----------------------------------------------------------------------------
[b][u]SOLUTION:[/u][/b]
(1)
;Rule header
(defrule isDiagnose)
;Patterns
(Patient ( Temperature “101 degree Fahrenheit” ) (spots “yellow”) (rash “red”) (throat “infected”))
;THEN
=>
;ACTIONS
(assert (Diagnose (Disease “allergy”))
(2)
;Rule header
(defrule isTreatment)
;Patterns
(Diagnose (Disease “allergy”))
;THEN
=>
;ACTIONS
(assert (Treatment (Medicine “Novidat”) (Medicine “ Evil”))[c
██████████████████ Basic Group Rules ███████████████████
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Criticize-able Islamic stuff, Spreading disruption, Spamming are strictly prohibited and banned in group.
█████████████████████████████████████████████████
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Join us at http://www.Vusr.net for Papers,Assignments,GDBs, Quizes.
████████████ Click here to Join this group at Facebook:████████████
♥ ♥ ♥ https://www.facebook.com/home.php?sk=group_111877855568034 ♥ ♥ ♥
█████████████████████████████████████████████████
No comments:
Post a Comment