前兩天寫了一個(gè)處理邏輯表達(dá)式的小程序,可以用來處理專家系統(tǒng)實(shí)事等邏輯關(guān)系表達(dá)式。還有很多問題沒有解決,也希望感興趣的朋友一同參與,比如說非的處理!(A & B),!A;邏輯關(guān)系表達(dá)式的邏輯比較上包含邏輯推理的比較(最好不采用真值表),A&(B|C) (A|C)&(A|B)等。
具體的說明,如doc 程序功能,在開源包內(nèi)都寫的比較詳盡。
有興趣的朋友可以在此留言
規(guī)則引擎現(xiàn)在有幾種比較好的開源項(xiàng)目比如Drools等,也有針對數(shù)據(jù)庫推理的JRete,但使用的數(shù)據(jù)庫非常有限,也不能對邏輯表達(dá)式進(jìn)行預(yù)處理。Jess比較好,但非開源 ^ ^
Jamocha是比較好的一個(gè)開源規(guī)則引擎,希望大家也支持。
process logic expression with binary tree, it can be used on the expert system's facts logic expression especailly infere with database.the java opensource programme can be downloaded from this site.any question plz contact with me nicky.jcoder@gmail.com
There r many opensource Rule Engines such as drools , jrete,etc.db driven is the feature of jrete.
Jamocha is a best practice opensource rule engine.
ALE Download Trace
Jamocha Download Trace