亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? usedcar.clp

?? 一個有關專家系統的CLISP 源代碼
?? CLP
?? 第 1 頁 / 共 4 頁
字號:



         (defrule starter
              ?init <- (initial-fact)
         =>
              (retract ?init)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (printout t "              ")
              (printout t "      W E L C O M E   T O   I A J S" crlf)
              (printout t "  " crlf)
              (printout t " This Intelligent Automobile Judgement ")
              (printout t "System will help the unknowledgable used ")
              (printout t "  " crlf)
              (printout t "auto buyer make a sound decision ")
              (printout t " in the purchase of a used car." crlf)
              (printout t "  " crlf)
              (printout t "You, the purchaser, will be asked a series")
              (printout t " of yes/no questions about the auto in" crlf)
              (printout t "question. You will also be asked to perform")
              (printout t " some simple tests. At the end of the " crlf)
              (printout t "program a list of possible trouble areas ")
              (printout t "and a recommendation on the purchase" crlf)
              (printout t "  " crlf)
              (printout t " of the car will be made." crlf)
              (printout t "  " crlf)
              (printout t "This system assumes that the buyer wants a")
              (printout t " dependable driving car not in need of "crlf)
              (printout t "major repairs. " crlf)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (printout t " Hit <cr> to begin our consulting" crlf)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (printout t "  " crlf)
              (bind ?answer (readline))
              (assert (screen 2)))



         (defrule first-scrn
              ?scrn <- (screen 2)
         =>
              (retract ?scrn)
              (bind ?count 0)
              (while (<= ?count 25)
                 (printout t " " crlf)
                 (bind ?count (+ ?count 1)))
              (printout t "              ")
              (printout t " I will take you through 3 test phases" crlf)
              (printout t " " crlf)
              (printout t "              ")
              (printout t "          1. VISUAL INSPECTION" crlf)
              (printout t " " crlf)








              (printout t "              ")
              (printout t "          2. ENGINE RUNNING" crlf)
              (printout t " " crlf)
              (printout t "              ")
              (printout t "          3. ROAD TEST" crlf)
              (printout t " " crlf)
              (printout t "              ")
              (printout t "To begin the visual, hit <cr> " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (bind ?answer (readline))
              (assert (start visual)))


         (defrule visual1
              ?start <- (start visual)
         =>
              (retract ?start)
              (bind ?count 0)
              (while (<= ?count 20)
                 (printout t " " crlf)
                 (bind ?count (+ ?count 1)))
              (printout t " The first thing to do is find the types of")
              (printout t " options on the car. Please answer" crlf)
              (printout t " " crlf)
              (printout t "yes or no to the following questions. If")
              (printout t " you don't know the answer, ask the " crlf)
              (printout t " " crlf)
              (printout t "seller" crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (assert (find options)))

         (defrule option1
              ?opt <- (find options)
         =>
              (retract ?opt)
              (printout t "Does the car have AIR CONDITIONING?" crlf)
              (printout t " " crlf)
              (bind ?air (read))
              (printout t " " crlf)
              (printout t "How about POWER STEERING? " crlf)
              (printout t " " crlf)
              (bind ?psteer (read))
              (printout t " " crlf)
              (printout t "Are the brakes POWER ASSISTED?" crlf)
              (printout t " " crlf)
              (bind ?pbrake (read))
              (printout t " " crlf)








              (printout t "Does it have an AUTOMATIC TRANSMISSION?")
              (printout t " " crlf)
              (printout t " " crlf)
              (bind ?auto (read))
              (printout t " " crlf)
              (printout t "How many cylinder engine?" crlf)
              (printout t " " crlf)
              (bind ?cyl (read))
              (printout t " " crlf)
              (printout t "Is it a REAR WHEEL DRIVE car?" crlf)
              (printout t " " crlf)
              (bind ?rwd (read))
              (printout t " " crlf)
              (printout t "What YEAR model is the car?" crlf)
              (printout t " " crlf)
              (bind ?year (read))
              (printout t " " crlf)
              (printout t "Does the car have gauges in the dash?" crlf)
              (printout t " " crlf)
              (bind ?dash (read))
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t " " crlf)
              (printout t "               ")
              (printout t "Thanks for the info. " crlf)
              (printout t " " crlf)
              (printout t "            ")
              (printout t "Let's look at the car now." crlf)
              (assert (options airc ?air))
              (assert (options powers ?psteer))
              (assert (options powerb ?pbrake))
              (assert (options tran ?auto))
              (assert (options eng ?cyl))
              (assert (options drive ?rwd))
              (assert (options yr ?year))
              (assert (options dhgages ?dash))
              (assert (inspect the outside)))


         ;  USER INTERFACE TO RULES  vis outside of car


         (defrule vis1
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Does the car seem to sit level?" crlf)
              (printout t " " crlf)
              (bind ?level (read))
              (assert (lvl ?level)))



         (defrule vis2








              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Do windows and doors fit correctly?" crlf)
              (printout t " " crlf)
              (bind ?wdfit (read))
              (assert (fit ?wdfit)))


         (defrule vis3
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is the trunk clean and neat?" crlf)
              (printout t " " crlf)
              (bind ?trnk (read))
              (assert (trk ?trnk)))


         (defrule vis4
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is there minor dents in the body?" crlf)
              (printout t " " crlf)
              (bind ?dent (read))
              (assert (dnt ?dent)))


         (defrule vis5
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "When looking down the car do the")
              (printout t " panels line up?" crlf)
              (printout t " " crlf)
              (bind ?pnls (read))
              (assert (pnl ?pnls)))


         (defrule vis6
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is there obvious rust on the body?" crlf)
              (printout t " " crlf)
              (bind ?rust (read))
              (assert (rst ?rust)))



         (defrule vis6-5
              (inspect the outside)
         =>








              (printout t " " crlf)
              (printout t "Is the pressure good in all tires?" crlf)
              (printout t " " crlf)
              (bind ?tire (read))
              (assert (tir ?tire)))


         ;RULES ABOUT CAR
         ;---------------------------------------------------------

         (defrule vis7
              ?rusty <- (rst ?rust)
              (test (eq ?rust yes))
         =>
              (assert (CAR HAS BODY RUST))
              (retract ?rusty))



         (defrule vis7-5
              (declare (salience -200))
              ?rusty <- (rst ?rust)
              (test (eq ?rust no))
         =>
              (retract ?rusty))



         (defrule vis8
              ?panel <- (pnl ?pnls)
              (test (eq ?pnls no))
         =>
              (assert (MAY HAVE FRAME DAMAGE))
              (retract ?panel))


         (defrule vis8-5
              (declare (salience -200))
              ?panel <- (pnl ?pnls)
              (test (eq ?pnls yes))
         =>
              (retract ?panel))



         (defrule vis9
              ?dents <- (dnt ?dent)
              (test (eq ?dent yes))
         =>
              (assert (PARKING LOT DAMAGE))
              (retract ?dents))











         (defrule vis10
              ?trunk <- (trk ?truk)
              (test (eq ?truk yes))
         =>
              (assert (WELL CARED FOR))
              (retract ?trunk))



         (defrule vis11
              ?doors <- (fit ?wdfit)
              (test (eq ?wdfit no))
         =>
              (assert (EVIDENCE OF MAJOR ACCIDENT))
              (retract ?doors))


         (defrule vis12
              ?even <- (lvl ?level)
              (test (eq ?level no))
         =>
              (assert (POSSIBLE SUSPENSION PROBLEMS))
              (assert (POSSIBLE BENT FRAME))
              (retract ?even))



         (defrule vis13
              ?tires <- (tir ?tire)
              (test (eq ?tire no))
         =>
              (assert (UNEVEN TIRE PRESSURE))
              (retract ?tires))


         ;---------------------------------------------------------

         ;USER INTERFACE engine compartment

         (defrule vis14
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Do the engine belts show any wear?" crlf)
              (printout t " " crlf)
              (bind ?belt (read))
              (assert (blt ?belt)))


         (defrule vis15
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Do the hoses show any wear?" crlf)








              (printout t " " crlf)
              (bind ?hose (read))
              (assert (hos ?hose)))


         (defrule vis16
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is there a smell of gasoline?     " crlf)
              (printout t " " crlf)
              (bind ?gaso (read))
              (assert (gas ?gaso)))


         (defrule vis17
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is the radiator fluid clean, green ")
              (printout t "and full" crlf)
              (printout t " " crlf)
              (bind ?radr (read))
              (assert (rad ?radr)))


         (defrule vis18
              (inspect the outside)
              (options tran yes)
         =>
              (printout t " " crlf)
              (printout t "Does the transmission fluid look or ")
              (printout t "smell burnt" crlf)
              (printout t " " crlf)
              (bind ?trany (read))
              (assert (tny ?trany)))


         (defrule vis19
              (inspect the outside)
              (options tran yes)
         =>
              (printout t " " crlf)
              (printout t "Is the transmission full of fluid?" crlf)
              (printout t " " crlf)
              (bind ?tranf (read))
              (assert (tnf ?tranf)))


         (defrule vis20
              (inspect the outside)
         =>
              (printout t " " crlf)
              (printout t "Is the brake system full of fluid?" crlf)








              (printout t " " crlf)
              (bind ?brakf (read))
              (assert (bkf ?brakf)))


         (defrule vis21

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色网站国产精品| 一区二区三区欧美| 亚洲黄一区二区三区| 日本欧美一区二区三区| 色域天天综合网| 亚洲精品在线三区| 五月婷婷久久丁香| 99热99精品| 国产精品日日摸夜夜摸av| 免费成人美女在线观看.| 欧美在线观看视频在线| 中文字幕欧美日韩一区| 久草在线在线精品观看| 欧美女孩性生活视频| 综合分类小说区另类春色亚洲小说欧美 | 日韩欧美亚洲国产精品字幕久久久 | 欧美不卡视频一区| 亚洲.国产.中文慕字在线| 99久久免费精品| 国产精品视频观看| 国产成人av电影在线| 久久女同互慰一区二区三区| 免费看黄色91| 日韩西西人体444www| 日韩国产欧美视频| 91精品国产色综合久久不卡蜜臀| 一区二区三区国产| 色狠狠一区二区三区香蕉| 亚洲人成7777| 欧美影院午夜播放| 亚洲综合在线五月| 欧美专区亚洲专区| 午夜视频一区二区| 欧美一卡二卡三卡| 麻豆精品国产91久久久久久 | 日本乱人伦aⅴ精品| 亚洲精品视频在线观看网站| 91蝌蚪porny| 一区二区三区中文在线| 欧美丝袜丝交足nylons| 天堂成人免费av电影一区| 91精品国产综合久久精品| 日韩中文字幕亚洲一区二区va在线| 欧美日韩大陆一区二区| 麻豆视频观看网址久久| 久久久久久久免费视频了| 懂色av一区二区三区免费观看| 国产精品久久久久久久久久久免费看 | 国产精品1024| 亚洲欧美日韩国产另类专区| 在线视频国内自拍亚洲视频| 午夜一区二区三区在线观看| 日韩欧美一级在线播放| 国产高清一区日本| 亚洲一区在线观看免费观看电影高清| 欧美群妇大交群中文字幕| 国产一区二区三区免费看| 国产精品美女www爽爽爽| 欧美综合一区二区三区| 老色鬼精品视频在线观看播放| 日本一区二区三区视频视频| 欧美视频完全免费看| 麻豆免费看一区二区三区| 中文字幕精品三区| 在线观看91av| 成人午夜激情影院| 亚洲电影欧美电影有声小说| 久久这里只有精品首页| 色就色 综合激情| 精品一区二区在线视频| 国产精品久久久久久久久免费丝袜| 欧美日韩dvd在线观看| 顶级嫩模精品视频在线看| 亚洲成人av一区二区三区| 国产日韩一级二级三级| 欧美日韩dvd在线观看| 国产91精品一区二区麻豆亚洲| 亚洲成人一二三| 1024成人网| www久久久久| 欧美精品日韩精品| 99热精品国产| 国产精品小仙女| 天天综合天天综合色| 中文字幕日韩av资源站| 精品日韩成人av| 欧美喷水一区二区| 91久久国产最好的精华液| 国产精品一区免费视频| 蜜臀91精品一区二区三区| 一区二区三区四区在线| 国产精品乱码一区二区三区软件 | 99在线热播精品免费| 激情综合色播五月| 日韩高清不卡在线| 亚洲已满18点击进入久久| 国产精品家庭影院| 国产网红主播福利一区二区| 91精品视频网| 欧美日韩日日摸| 欧美亚洲日本国产| 欧美在线不卡视频| 在线免费亚洲电影| 91农村精品一区二区在线| 成人动漫一区二区| 成人av高清在线| 成人黄页毛片网站| 成人精品小蝌蚪| 成人免费看片app下载| 国产精品伊人色| 国产成人av在线影院| 国产精品911| 成人夜色视频网站在线观看| 国产成人免费高清| 成人免费高清在线| 成人国产精品免费观看| 99v久久综合狠狠综合久久| 99精品国产91久久久久久| 色综合久久综合中文综合网| 一本久久综合亚洲鲁鲁五月天 | 99r国产精品| 在线观看视频一区二区欧美日韩| 色婷婷亚洲一区二区三区| 色婷婷av一区| 8v天堂国产在线一区二区| 日韩美女视频在线| 久久精品水蜜桃av综合天堂| 国产精品久久久久久久第一福利| 自拍偷自拍亚洲精品播放| 一级女性全黄久久生活片免费| 亚洲制服丝袜在线| 日本视频一区二区| 国产黄色成人av| 在线中文字幕一区| 制服视频三区第一页精品| 精品国产一区久久| 亚洲日本va午夜在线影院| 亚洲午夜久久久久久久久电影院| 日韩极品在线观看| 粉嫩一区二区三区在线看| 91国偷自产一区二区三区成为亚洲经典| 欧美性感一区二区三区| 26uuu国产在线精品一区二区| 国产日韩欧美a| 香蕉久久夜色精品国产使用方法| 国产麻豆午夜三级精品| 91在线播放网址| 日韩三级在线观看| 国产精品久久久久久户外露出 | 91猫先生在线| 91精品国产一区二区人妖| 久久精品日产第一区二区三区高清版| 亚洲欧洲成人自拍| 日本午夜一区二区| 色综合久久久久久久久| 精品三级在线观看| 亚洲精品高清视频在线观看| 国产一区二区三区四区五区美女| 色哟哟亚洲精品| 久久精品一级爱片| 日韩二区三区四区| 日本道精品一区二区三区| 精品国产伦一区二区三区免费| 亚洲天堂福利av| 国产成人午夜片在线观看高清观看| 欧美色手机在线观看| 国产精品另类一区| 国产在线国偷精品产拍免费yy| 色婷婷av一区二区三区大白胸| 国产日韩欧美在线一区| 日韩激情在线观看| 欧美亚洲国产bt| 亚洲人精品一区| 成人午夜激情视频| 2021久久国产精品不只是精品| 午夜婷婷国产麻豆精品| 日本电影欧美片| 亚洲视频一区在线| av在线播放成人| 国产精品毛片a∨一区二区三区| 久久se精品一区精品二区| 欧美日本在线播放| 亚洲一区二区免费视频| 99久久精品费精品国产一区二区| 欧美xxx久久| 久久草av在线| 欧美xxxx老人做受| 黄色日韩网站视频| 日韩精品一区在线| 国内外成人在线| 久久噜噜亚洲综合| 国产精品香蕉一区二区三区| 日韩欧美国产精品一区| 久久精品国产99国产精品| 欧美一区二区三区人| 蜜臀av性久久久久蜜臀aⅴ四虎| 717成人午夜免费福利电影| 日韩一区欧美二区| 欧美大片在线观看| 国产精品一区二区在线观看不卡|