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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nematode.clp

?? 介紹ANTLR使用的JAVA程序例子
?? CLP
?? 第 1 頁 / 共 2 頁
字號(hào):
(defrule start
  (declare (salience 500))
  ?init <- (initial-fact)
  =>
  (printout t "Welcome to the expert nematode diagnosis system !" crlf
            "This program can identify the following nematodes : " crlf)
  (retract ?init)
  (assert (print-list list))
  )

(defrule print-list
  (declare (salience 500))
  (print-list list)
  ?genus <- (genus ?name)
  =>
  (retract ?genus)
  (printout t "          Genus  " ?name crlf)
  )

(defrule ready
   ?print <- (print-list list)
   =>
   (retract ?print)
   (printout t "Ready to work : (yes/no) ?" crlf)
   (assert (ready =(read)))
   )

(defrule start-to-id
  ?ready <- (ready yes)
  =>
  (retract ?ready)
  (assert (query))
  )

(defrule determine-nematode
  ?query <- (query)
  (not (a nematode ?nema))
  =>
  (retract ?query)
  (printout t "Is this a nematode ?" crlf
            "(yes/no/unknown)" crlf)
  (assert (a nematode =(read)))
  )

(defrule is-a-nematode-1
  ?f1 <- (a nematode yes)
  =>
  (retract ?f1)
  (assert (this-is-a-nematode))
  )

(defrule not-a-nema
 ?f1 <- (a nematode no)
  =>
  (retract ?f1)
  (printout t "This is not a nematode. " crlf
            "This program only identifies nematodes." crlf
            "Find another one : (yes /no ) ?" crlf)
  (assert (find-another =(read)))

  )


(defrule find-another
  ?f4 <- (find-another yes)
=>
  (assert (query))
  (retract ?f4)
  )


(defrule unknown-creature
  (a nematode unknown)
  =>
  (printout t "Does it belong to any of the following shape ?" crlf crlf
            " vermiform                / pear_shaped / fusiform" crlf
            " slender,spindle_shaped  /             /  with annules" crlf
            "    unsegmented         /             /" crlf
            "  (yes / no) ?" crlf crlf)
  (assert (valid-shape =(read)))
;  (printout t "Is it bilaterally symmetrical :" crlf
;           "  (yes / no) ? " crlf)
;  (assert (bilateral =(read)))
  )

(defrule is-not-a-nema-2
  ?f1 <- (a nematode unknown)
  ?shape <- (valid-shape no)
;  ?bi <- (bilateral no)
  =>
  (printout t "This is not a nematode. " crlf
            "This program only identifies nematodes." crlf
            "Find another one : (yes / no) ?" crlf )
  (assert (find-another =(read)))
  (retract ?f1 ?shape)
;  (retract ?bi)
  )


(defrule is-a-nema-2
  ?f1 <- (a nematode unknown)
  ?shape <- (valid-shape yes)
;  ?bi <- (bilateral yes)
  =>
  (assert (this-is-a-nematode))
  (printout t "This is a nematode !" crlf)
  (retract ?f1 ?shape)
;  (retract ?bi)
  )

(defrule stylet
 (this-is-a-nematode)
 (not (stylet ?present))
 =>
 (printout t "Does it have a stylet : (present /absent) ?" crlf)
 (assert (stylet =(read)))
 )

(defrule not-a-plant-parasitic-nema
  ?stylet <- (stylet absent)
  ?nema <- (this-is-a-nematode)
  =>
  (printout t "This is not a plant parasitic nematode." crlf
            "Look for another one that has a stylet in the mouth part." crlf
            "Ready : (yes/no) ?" crlf)
  (assert (ready =(read)))
  (retract ?stylet ?nema)
  )



(defrule plant-parasitic-nema
  ?f1 <- (stylet present)
  ?f2 <- (this-is-a-nematode)
  (not (esophagus ?how-many-part))
  =>
  (retract ?f1 ?f2)
  (printout t crlf)
  (printout t "This is possibly a plant parasitic nematode. " crlf
            "Continue to identify it ." crlf crlf)
  (printout t "Look at its esophagus, is it : (two-part / three-part) ?" crlf
            "two-part :   anterior part slender" crlf
            "             posterior part glandular and muscular ." crlf crlf
            "three-part : anterior slender "crlf
            "             median bulb present" crlf
            "             posterior part : glandular basal bulb. " crlf crlf
            "Which one ?  (two-part / three-part)" crlf)
   (assert (esophagus =(read)))
   )

(defrule check-Trichorus
  (esophagus two-part)
  (not (Trichodorus ?answer))
  =>
  (printout t "Is this stylet short and curved, body short and thick "
            "(0.45-1.5 mm long) :" crlf
            "    (yes/no) ?  " crlf)
  (assert (Trichodorus =(read)))
  )

(defrule Trichodorus
  ?f3 <- (esophagus two-part)
  ?f4 <- (Trichodorus yes)
  =>
  (retract ?f3 ?f4)
  (assert (nematode Trichodorus))
  (assert (id-criteria "1. esophagus two part."
                       "2. body-shape short and thick."
                       "3. stylet-shape short and curved."))
  )

(defrule not-Trichodorus
  ?f2 <- (esophagus two-part)
  ?f1 <- (Trichodorus no)
  (not (Longidorus Xiphinema ?answer))
  =>
  (retract ?f1 ?f2)
  (printout t "Is the stylet-long, straight, tapering to a long slender point "
             crlf
            "with long extensions, body long and slender : " crlf
            " (yes / no) ? " crlf)
  (assert (Longidorus Xiphinema =(read)))
  )

(defrule Xiphinema-Logidorus
 (Longidorus Xiphinema yes)
  =>
  (printout t "Stylet extension with basal flanges and  " crlf)
  (printout t "Guiding ring in the middle of the stylet : (yes/no) ?" crlf)
  (assert (Xiphinema =(read)))
  )

(defrule Xiphinema-facts
?f1 <- (Xiphinema yes)
 =>
 (retract ?f1)
 (assert (stylet-extension with basal-flanges))
 (assert (guiding-ring middle))
 )

(defrule Longidorus-facts
?f1 <- (Xiphinema no)
 =>
 (retract ?f1)
 (assert (stylet-extension without basal-flanges))
 (assert (guiding-ring anterior))
 )



(defrule Xiphinema
  ?f1 <- (Longidorus Xiphinema yes)
  ?f3 <- (stylet-extension with basal-flanges)
  ?f4 <- (guiding-ring middle)
  =>
  (retract ?f1 ?f3 ?f4)
  (assert (nematode Xiphinema))
  (assert (id-criteria "1. esophagus two-part."
                       "2. body-shape long and slender."
                       "3. stylet-shape long, straight,
                           extension long with basal flanges."))
  )

(defrule Longidorus
  ?f1 <- (Longidorus Xiphinema yes)
  ?f3 <- (stylet-extension without basal-flanges)
  ?f4 <- (guiding-ring anterior)
  =>
  (retract ?f1  ?f3 ?f4)
  (assert (nematode Longidorus))
  (assert (id-criteria "1. esophagus two-part."
                       "2. body-shape long and slender."
                       "3. stylet-shape long, straight,
                           extension long without basal flanges."))
  )

(defrule unknown-feeding-habits-nema
  ?f1 <- (Longidorus Xiphinema no)
  =>
  (retract ?f1)
  (assert (nematode "A large number of genera, feeding habits unknown."))
  (assert (id-criteria "1. esophagus two-part."
                       "2. stylet straight, usually not very long."
                       "3. body normal."))
  )

(defrule median-bulb-size
  (esophagus three-part)
  (not (median-bulb ?size))
  =>
  (printout t "What is the size of the median bulb ?" crlf crlf
            " 1. as wide as the diameter of the body width. " crlf
            " 2. less than 3/4 body width . " crlf )
   (assert (median-bulb =(read)))
   )

(defrule metacorpus-small
 ?bulb <- (median-bulb 2)
 =>
 (retract ?bulb)
 (assert (median-bulb small))
 )

(defrule metacorpus-large
 ?bulb <- (median-bulb 1)
 =>
 (retract ?bulb)
 (assert (median-bulb large))
 )


(defrule Aphelenchoidea
  ?f1 <- (esophagus three-part)
  ?f2 <- (median-bulb large)
  (not (Superfamily Aphelenchoidea))
  =>
  (retract ?f1 ?f2)
  (assert (Superfamily Aphelenchoidea))
  )

(defrule Tylenchoidea
  ?f1 <- (esophagus three-part)
  ?f2 <- (median-bulb small)
  (not (Superfamily Tylenchoidea))
  =>
  (retract ?f1 ?f2)
  (assert (Superfamily Tylenchoidea))
  )

(defrule Aphelenchoidea-tail-shape
  (Superfamily Aphelenchoidea)
  (not (tail-shape ?size))
  =>
  (printout t "Shape of tail : (blunt or conoid) ? " crlf)
  (assert (tail-shape =(read)))
  )

(defrule Aphelenchus
  ?f1 <- (Superfamily Aphelenchoidea)
  ?f2 <- (tail-shape blunt)
  =>
  (retract ?f1 ?f2)
  (assert (nematode Aphelenchus))
  (assert (id-criteria "1. esophagus three-part."
                       "2. metacorpus large."
                       "3. female tail-shape blunt."))
  )

(defrule Aphelenchoides
  ?f1 <- (Superfamily Aphelenchoidea)
  ?f2 <- (tail-shape conoid)
  =>
  (retract ?f1 ?f2)
  (assert (nematode Aphelenchoides))
  (assert (id-criteria "1. esophagus three-part."
                       "2. metacorpus large."
                       "3. tail-shape conoid, with 1 or more sharp points."))
 )

(defrule annulated-cuticle
  ?f1 <- (Superfamily Tylenchoidea)
  (not (cuticle-annulated-heavily ?any))
  =>
  (retract ?f1)
  (printout t "Is the cuticle heavily annulated ? (yes / no) : " crlf)
  (assert (cuticle-annulated-heavily =(read)))
  )

(defrule Criconematidae
  ?f2 <- (cuticle-annulated-heavily yes)
  (not (Family Criconematidae))
  =>
  (retract ?f2)
  (assert (Family Criconematidae))
  )

(defrule cuticle-sheath
  ?f3 <- (Family Criconematidae)
  (not (cuticle-sheath ?any))
  =>
  (retract ?f3)
  (printout t "Does the body have prominent cuticle sheath ? "
            "     (present / absent) ? " crlf)
  (assert (cuticle-sheath =(read)))
  )

(defrule Hemicriconemoides
  ?f4 <- (cuticle-sheath present)
  =>
  (retract ?f4)
  (assert (nematode Hemicriconemoides))
  (assert (id-criteria "1. esophagus three-part, metacorpus small."
                       "2. cuticle heavily annulated."
                       "3. cuticle-sheath prominent."))
 )

(defrule Criconema-Criconemoides
  ?f5 <- (cuticle-sheath absent)
  (not (annules-posterior-projections ?any))
  =>
  (retract ?f5)
  (printout t "Does the annules have prominent posterior projections ?" crlf
            "               (yes / no) " crlf )
  (assert (annules-posterior-projections = (read)))
  )

(defrule Criconema
  ?f6 <- (annules-posterior-projections yes)
  =>
  (retract ?f6)
  (assert (nematode Criconema))
  (assert (id-criteria "1. esophagus three-part, metacorpus small."
                       "2. cuticle-sheath absent."
                       "3. cuticle-annules with  posterior projections."))
 )

(defrule Criconemoides
  ?f7 <- (annules-posterior-projections no)
  =>
  (retract ?f7)
  (assert (nematode Criconemoides))
  (assert (id-criteria "1. esophagus three-part, metacorpus small."
                       "2. cuticle-sheath absent."
                       "3. heavy annulations, without posterior projections."))
 )

(defrule enlarge-body
  ?f8 <- (cuticle-annulated-heavily no)
  (not (female-body-shape ?any))
  =>
  (retract ?f8)
  (printout t "What is the female body shape :" crlf
            "1. pyriform-saccate or lemon-shaped ?" crlf
            "2. elongate-saccate or kidney-shape with tail ?" crlf
            "3. cylindrical ?" crlf)

  (assert (female-body-shape =(read)))
  )

(defrule female-body-shape-1
  ?f1 <- (female-body-shape 1)
  =>
  (assert (female-body-shape pyriform-saccate-or-lemon-shape))
  (retract ?f1)
 )

(defrule female-body-shape-2
  ?f2 <- (female-body-shape 2)
  =>
  (assert (female-body-shape elongate-saccate-or-kidney-shape-with-tail))
  (retract ?f2)
 )


(defrule female-body-shape-3
  ?f3 <- (female-body-shape 3)
  =>
  (assert (female-body-shape cylindrical))
  (retract ?f3)
 )
(defrule Heteroderidae
  ?f1 <- (female-body-shape pyriform-saccate-or-lemon-shape)
  (not (Family Heteroderidae))
  =>
  (retract ?f1)
  (assert (Family Heteroderidae))
  )

(defrule body-hardness
  (Family Heteroderidae)
  (not (female-body ?any))
  =>
  (printout t "Is the female body hard or soft, test with a needle : "
             " (hard /soft) ?" crlf)
  (assert (female-body = (read)))
  )

(defrule Heterodera
  ?f1 <- (Family Heteroderidae)
  ?f2 <- (female-body hard)
  =>
   (retract ?f1 ?f2)
  (assert (nematode Heterodera))
  (assert (id-criteria "1. esophagus three-part, metacorpus small."
                       "2. female-body lemon-shape."
                       "3. female-body hard-cyst."))
 )

(defrule Meloidodera-Meloidogyne
  (Family Heteroderidae)
  ?f1 <- (female-body soft)
  (not (vulva-position ?any))
  =>
  (retract ?f1)
  (printout t "Where is the position of vulva ?" crlf
            "1. terminal of nearly so." crlf
            "2. slightly posterior to middle of body." crlf
            "   1 or 2 " crlf)
  (assert (vulva-position =(read)))
   )

(defrule vulva-position-terminal
?pos <- (vulva-position 1)
=>
(retract ?pos)
(assert (vulva-position terminal))
)

(defrule vulva-position-middle
?pos <- (vulva-position 2)
=>
(retract ?pos)
(assert (vulva-position middle))
)


(defrule Meloidogyne
  ?f1 <- (Family Heteroderidae)
  ?f2 <- (vulva-position terminal)
  =>
   (retract ?f1 ?f2)
  (assert (nematode Meloidogyne))
  (assert (id-criteria "1. esophagus three-part, metacorpus small."
                       "2. female-body pear-shape, soft."
                       "3. vulva-position terminal of body."))
 )

(defrule Meloidodera
  ?f1 <- (Family Heteroderidae)
  ?f2 <- (vulva-position middle)
  =>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色噜噜夜夜夜综合网| 一级日本不卡的影视| 精品一区二区三区不卡| 日韩色在线观看| 午夜久久久影院| 7777精品伊人久久久大香线蕉| 亚洲电影视频在线| 亚洲精品伦理在线| 懂色av一区二区三区免费看| 精品剧情在线观看| 青草国产精品久久久久久| 精品污污网站免费看| 日韩免费高清av| 色婷婷av一区| 18成人在线视频| 成人久久视频在线观看| 欧美国产视频在线| 欧美一区永久视频免费观看| 午夜精品免费在线| 精品久久久三级丝袜| 色综合一个色综合亚洲| 夜夜嗨av一区二区三区| 欧美国产亚洲另类动漫| 久久久久亚洲蜜桃| 欧美国产1区2区| 亚洲欧洲av色图| 久久久国际精品| 中文字幕欧美国产| 中文字幕人成不卡一区| 国产拍欧美日韩视频二区| 国产午夜亚洲精品午夜鲁丝片| 国产情人综合久久777777| 亚洲国产精品ⅴa在线观看| 久久只精品国产| 国产精品久久久久久久久久免费看| 亚洲国产电影在线观看| 国产精品久久精品日日| 三级久久三级久久久| 国产麻豆9l精品三级站| 午夜精品视频一区| 久久精品国产精品亚洲精品| 福利电影一区二区| 欧美日韩电影在线| 日韩精品资源二区在线| 国产精品美日韩| 日产国产高清一区二区三区| 国产精品一二三四五| 91久久精品网| 欧美激情在线一区二区| 亚洲18色成人| 91毛片在线观看| 久久天天做天天爱综合色| 亚洲一区二区偷拍精品| 国产精品1区二区.| 欧美一区二区三区在| 亚洲激情综合网| 国产激情91久久精品导航| 欧美日韩国产精品成人| 综合av第一页| 成人激情综合网站| 欧美电视剧在线看免费| 无码av免费一区二区三区试看| 国产剧情av麻豆香蕉精品| 欧美xxxxxxxx| 日韩高清在线不卡| 欧美午夜精品一区二区蜜桃| 国产精品人妖ts系列视频| 久久国产精品无码网站| 日韩亚洲欧美综合| 日本午夜精品视频在线观看 | 国产午夜精品一区二区| 日本在线不卡一区| 亚洲色图都市小说| 在线免费不卡电影| 亚洲一区二区四区蜜桃| 欧美日韩久久不卡| 秋霞成人午夜伦在线观看| 欧美自拍偷拍午夜视频| 日本麻豆一区二区三区视频| 欧美高清你懂得| 青青草97国产精品免费观看无弹窗版| 91麻豆精品国产91久久久更新时间| 亚洲综合一区二区| 91黄视频在线观看| 天涯成人国产亚洲精品一区av| 日韩欧美一级二级三级| 丰满亚洲少妇av| 又紧又大又爽精品一区二区| 欧美精品日韩综合在线| 国产一区视频在线看| 亚洲精品成人在线| 日韩欧美一区二区在线视频| 国产高清无密码一区二区三区| 中文字幕在线免费不卡| 欧美日韩一二区| 国产麻豆视频一区二区| 亚洲一卡二卡三卡四卡| 欧美xxx久久| 欧美日韩精品久久久| 丁香婷婷深情五月亚洲| 日本不卡一区二区三区| 欧美国产1区2区| 欧美一区二区三区爱爱| 不卡一区二区三区四区| 捆绑变态av一区二区三区| 亚洲欧美怡红院| 久久精品在线观看| 91精品国产乱| 欧美美女网站色| 欧美性受极品xxxx喷水| 国产高清不卡一区二区| 美女脱光内衣内裤视频久久影院| 亚洲精品久久7777| 国产精品夫妻自拍| 国产精品日韩成人| 中文字幕不卡在线| 国产亚洲欧美中文| 精品毛片乱码1区2区3区| 69成人精品免费视频| 精品视频1区2区| 欧美性受xxxx黑人xyx性爽| 97精品电影院| 色欧美日韩亚洲| 色婷婷一区二区三区四区| 99久久免费国产| 色噜噜狠狠成人网p站| 91福利社在线观看| 欧美三电影在线| 欧美视频一区二区三区| 欧美精品在线观看播放| 欧美伊人久久大香线蕉综合69| 色欲综合视频天天天| 91国偷自产一区二区开放时间| 91猫先生在线| 欧美日韩久久久| 久久综合色鬼综合色| 亚洲一区在线视频| 激情图片小说一区| 99久久99久久综合| 在线播放中文一区| 国产精品色在线| 石原莉奈一区二区三区在线观看| 久久99精品一区二区三区三区| 国产乱理伦片在线观看夜一区 | 国产精品99久久久久久久女警 | 国产精品自在欧美一区| 色又黄又爽网站www久久| 精品久久久久久久久久久院品网| 中文字幕一区二区三区av| 蜜臀av性久久久久蜜臀aⅴ| av日韩在线网站| 欧美va亚洲va香蕉在线| 中文字幕一区二区不卡| 韩国午夜理伦三级不卡影院| 欧美日韩视频在线第一区| 中文一区二区完整视频在线观看| 青青草国产成人99久久| 精品视频在线看| 亚洲成人av一区二区| 91免费看`日韩一区二区| 国产午夜亚洲精品不卡| 极品美女销魂一区二区三区免费| 51精品视频一区二区三区| 亚洲已满18点击进入久久| 日韩电影在线免费观看| 97久久精品人人爽人人爽蜜臀| 欧美激情综合五月色丁香小说| 日本不卡视频一二三区| 欧美一卡二卡在线观看| 日韩电影在线免费看| 欧美一区在线视频| 精品在线视频一区| 欧美极品少妇xxxxⅹ高跟鞋| 夫妻av一区二区| 国产精品萝li| 在线看国产一区| 亚洲福利电影网| 欧美日韩电影在线播放| 久久精品国产免费| 精品国产精品网麻豆系列| 国产一区二区电影| 国产欧美日韩精品一区| 91麻豆福利精品推荐| 亚洲精品乱码久久久久久久久| 欧美系列在线观看| 人人爽香蕉精品| 国产清纯白嫩初高生在线观看91 | 日韩福利视频网| 久久夜色精品一区| 激情国产一区二区| 中文字幕不卡在线| 欧美探花视频资源| 国产在线视视频有精品| 中文字幕一区二区三区乱码在线| 91在线免费视频观看| 麻豆精品在线看| 一区二区三区日韩欧美| 久久中文娱乐网| 69成人精品免费视频| 99久久综合精品|