failgoddess / ruleEngine

规则引擎
17 stars 4 forks source link

关于规则触发机制的疑问 #1

Open glacierck opened 3 years ago

glacierck commented 3 years ago

我想问问在你的设计中关于规则触发判断的逻辑。还有触发规则用的事实信息的存储,加载设计。推理机工作是否需要将事实信息都加载到内存中?例如:规则X:A 父亲 B => B 子女 A。其中A 是输入的新事实,B是存储在数据源(Tb级别的图数据库,具有自己的数据查询api)里事实。规则触发机制如何将“A 父亲 B”匹配到的?匹配过程中会实时去查“A 父亲 ?”取出B吗?

failgoddess commented 2 years ago

没有用到推理机工作,只是做了一把规则的编排,将代码可以配置化出来而已

failgoddess commented 2 years ago

需要---- 回复的原邮件 @.>发送日期2021年09月18日 11:56 @.> @.***>主题[failgoddess/ruleEngine] 关于规则触发机制的疑问 (#1) 我想问问在你的设计中关于规则触发判断的逻辑。还有触发规则用的事实信息的存储,加载设计。推理机工作是否需要将事实信息都加载到内存中?例如:规则X:A 父亲 B => B 子女 A。其中A 是输入的新事实,B是存储在数据源(Tb级别的图数据库,具有自己的数据查询api)里事实。规则触发机制如何将“A 父亲 B”匹配到的?匹配过程中会实时去查“A 父亲 ?”取出B吗?

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/failgoddess/ruleEngine/issues/1", "url": "https://github.com/failgoddess/ruleEngine/issues/1", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]