clips

    1熱度

    2回答

    我是新的Drools和CLIPS。我想要構建一個在android上運行的簡單的糖尿病診斷專家系統。我現在使用Android Studio作爲我的開發工具,並且正在尋找集成Drools或CLIPS來構建項目的方法。我已經搜索了幾周,但沒有太多的信息談論在Android Studio上運行Drools或CLIPS。任何人都可以給我一些提示或給我鏈接?感謝幫助。

    -1熱度

    2回答

    (defrule myrule (and (s (time 1803)) (f1 (start ?s1)) (f2 (start ?s2)) (f3 (start ?s3)) ) => if(< ?s1 7) then (bind ?s1 (+ ?s1 24)) if(< ?s2 7) then (bind

    0熱度

    1回答

    有沒有辦法從CLIPS中的 CPU獲取當前日期或時間(如果時間戳更好)? 謝謝 尼古拉

    1熱度

    1回答

    有一個文件test.clp: (defclass TestClass (is-a USER) (role concrete) (pattern-match reactive) (slot value) (slot threshold)) (definstances TestObjects (Test of TestClass (va

    1熱度

    1回答

    我試圖在CLIPS的規則中進行比較,檢查是否有三個條件中的一個是真的來斷言一個新的事實。該代碼是: (defrule empresa_cae_mucho (Empresa (nombre ?n)(var_anio ?anio)(var_sem ?sem)(var_tri ?tri)) => (or (or (test(> ?anio 30))(test (> ?sem 30))(test (

    0熱度

    1回答

    我在CLIPS工作,廣告我有這樣的自定義模板: (deftemplate K-agent (multislot content) (slot free) (slot waste) 可能的K-劑的事實可能是: (K-agent (content normal normal) (free 0) (waste no)) 我想適用此規則: ?k <- (K-agent (content $?con

    0熱度

    1回答

    我現在開始學習CLIPS並問自己什麼時候使用符號和字符串更好? 初看起來,在我看來,這些符號是有利的,因爲它們比字符串更容易比較。 (eq test test) 比 (= (str-compare "test" "test") 0) 快有一個缺點它嗎?

    0熱度

    1回答

    我想知道如果在CLIPS中,我可以將插槽的修改事件關聯。 實施例: (defclass ROOM (is-a USER) (slot id (type SYMBOL)) (slot windows-status (allowed-strings "open" "close"))) 當值「窗口狀態」的變化,我想調用一些功能,根據所允許的串。 謝謝 尼古

    0熱度

    1回答

    我需要在CLIPS中建立OneToMany關係。 我有可能與區域有關的房間。 所以我寫了: (defclass ROOM (is-a USER) (slot id (type SYMBOL)) (slot zone (type SYMBOL))) (defclass ZONE (is-a USER) (slot id-zone (type SYMBOL)

    0熱度

    1回答

    如何計算在CLIPS中執行程序期間觸發了多少規則?但我不想修改現有規則,比如在每個規則中添加一個計數器。