samplecode:(defmodulerecommend)(defrulea1(user(age?age&:(>=?age20)))=>(assert(recommendation(productProductA)(explanation"ProductA"))))(defrulea2(user(age?age&:(and(>=?age20)(<>=>(assert(recommendation(productProductAA)(explanation"ProductAA")))(assert(recommendation(productProductB)(explanation"ProductB"))))(defrulea3(user(gendermale))=>(assert(recommendati...Jesssample
http://www.drools.org/Ialwaysdevelopaverysimpleexample,whichrecommendssomeproductsforganederandage.Idescribedroolssample.Apachewebapplicationpromptsganederandage,andexecutesdroolstodisplaytherecommendationresult.Forexample,ifgenderismaleandageisgreaterthan20andageislessthan29,thenrecommendsproductsAandproductsB.IalsoputthiskindofbusinessrulesintoExcelandExce...Droolssample
Tpoics:What'sRETE?What'sRETEII?STPstandsforstraightthroughprocessing.NeedtoclearwhenRETEiseffectiveornot.RETE...WRONGhttp://www.corticon.com/html/so_rete_wrong.htmlCharlesForgyPh.D.,ChiefScientistandCo-FounderForgybrings27yearsofrulesexperienceandistheinventoroftheRETEalgorithmrulesengine.TheRETEalgorithmiswidelyrecognizedasbyfarthemostefficientalgorithmandi...RETE,RETEIIvsSTP
「ブログリーダー」を活用して、monster750jpさんをフォローしませんか?