如何通过CLIPSIDE中的不同选择获取R7

问题描述

e = document.getElementById('trigger')
e.addEventListener('click',function() {
    doalert(a)
});

//我认为这里应该有问题,但我不知道如何修改


enter image description here 这里有3个R7。如何通过不同的选择获得R7?

解决方法

(defrule unable-to-diagnose
   (name ?name)
   (age ?age)
   (gender ?gender)
   (exists
      (temperature ?C)
      (or 
         (and 
            (test (>= ?C 39))
            (high-fever-days ?days)
            (or 
               (and 
                  (test (>= ?days 3))
                  (shock no)
                  (respiratory-failure no)
                  (hemoptysis-or-purulent-sputum no)
                  (shortness-of-breath no)
                  (rales-can-be-heard-in-the-lungs no)
               )                  
               (and
                  (test (< ?days 3))
                  (vomiting no)
                  (abdominal-pain-or-diarrhea no)
                  (muscle-joint-pain no)
                  (sore-muscles-and-joints no)
                  (mild-conjunctival-congestion no)
               )
            )
         )    
         (and
            (test (< ?C 39))
            (abnormal-sneezing-or-runny-nose no)
         )
      )
   )
   =>  
   (assert (diagnosis-result: unable-to-diagnose))
   (printout t crlf "=======================================================================" crlf)
   (printout t crlf "Diagnosis Result of " ?name " : unable-to-diagnose " crlf)
   (printout t crlf "Treatment Suggestion to You :" crlf)
   (printout t crlf "    " crlf)
   (printout t crlf "=======================================================================" crlf))

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...