clips

    -1熱度

    1回答

    我想刪除短於4個字母的senense中的所有單詞。打印結果句子和刪除單詞的數量。在屏幕上和文本文件中打印結果。 CLIPS專家系統。有幾個導遊都在互聯網上

    0熱度

    1回答

    我是CLIPS的新手,我對理解語言有困難。我意識到這個相當混亂的標題,所以我會盡量做到儘可能清晰和精確。 我有一個以學生作品爲代表的事實基礎,我想知道哪個城市是入圍學生中最常見的(最常見的)。 這是我的事實基礎: (deftemplate student (slot name) (slot city) (slot age) (multislo

    0熱度

    1回答

    我是名爲CLIPS的專家系統語言的初學者。我需要編寫一個CLIPS腳本來幫助決定,給出有關屬性A,B和C(密度,電導率等)的三個事實,即具有這些事實/屬性的對象是否屬於某種類型,比如TYPE1。我需要編寫必要的規則來做出這個決定。感謝您的幫助。 KB

    0熱度

    1回答

    CLIPS出現了一個奇怪的問題,它很難調試。 我有以下事實清單: f-0 (initial-fact) f-1 (SpinWave (quantum_number_names "charge" "isospin" "spin" "parity" "cparity") (quantum_number_values 0 1 2 -1 -1)) f-2 (SpinWave (quantum_n

    1熱度

    1回答

    創造萬事我想建立這樣的一個模板的一個事實: ; initial and final state of a single IF instance (deftemplate InitialAndFinalState (slot initial_state) (multislot final_state) ) 與C++接口,我以下列方式使用: void* ifs_te

    0熱度

    1回答

    我有另一個奇怪的問題,我已經解決了。但我不確定我是否幸運地修復了它,或者我真的明白髮生了什麼。所以基本上我已經通過以下方式對我的事實執行查詢: DATA_OBJECT decay_tree_fact_list; std::stringstream clips_query; clips_query << "(find-all-facts ((?f DecayTree)) TRUE)"; Env

    0熱度

    1回答

    不確定爲什麼這不起作用。 (defrule contain-red? (initial-fact) => (bind ?reply (get-text-from-user "Does it contain x (y/n?")) (assert (existing-text ?reply))) (defrule partOne (existing-text "y") => (bin

    0熱度

    1回答

    我努力正確評估多字段值的整數值。 最終,我需要的是模式匹配一​​個只包含整數的多槽,並能夠判斷「列表」是否按升序排列。 我有什麼至今: (defclass status (is-a USER) (role concrete) (pattern-match reactive) (multislot numbers (create-accessor

    0熱度

    1回答

    我知道如何搜索檢查事實插槽是否存在,我需要知道如何獲得這一事實的其他插槽的價值 (deftemplate details (slot name(type STRING))(slot occ (type STRING))......) and (deffacts details (details (occ "student")(name "mike")) (details

    0熱度

    1回答

    我需要檢查LHS中某個o'bject屬性的值是否存在。 (defrule check-property ?room <- (object (is-a ROOM)) (integerp (send ?room get-property)) ; #1 => (printout ?*debug-print* "Room " ?room " has property