使用 Drools Expert 开发专家系统的想法

发布于 2024-12-13 16:00:44 字数 465 浏览 3 评论 0原文

我想使用 Drools Expert 开发税务咨询系统。这种系统的想法能够 选择税收规则来计算税额并提出减少纳税的建议。

对于税收计算, 假设纳税人是医生。他以工资形式赚取收入。他的收入的扣除率 占总收入的40%,但不超过60,000。他有自给自足,因为他是他国家的公民。 税金计算公式为 总收入 - 扣除收入 - 津贴 = 净收入

该净收入将用于纳税计算方法:累进法和固定税率

总是选择累进法,而如果纳税人收入则选择固定税率法 不是工资形式。

系统选择计税方式并计算后就已经完成了。 它应该能够提出减税计划。

从前面的例子来看,医生以工资形式赚取收入。工资收入可以扣除 总收入的40%但不超过60,000。然而,如果他宣称自己是 医生,而不是医院的雇员,他将允许扣除其收入的60%。

我希望专家系统可以建议纳税人做这样的事情。

难道Drools专家有能力做这样的事情吗?

先感谢您

I want to develop tax advisory system using Drools expert. The idea of such system is able to
select the Tax rules to calculate tax amount and suggest recommendation(s) to reduce tax payment.

For tax calculation,
Suppose a taxpayer is physician. He earned income in form of salary. The deduction rate for his income earned
is 40% of totally earned but not exceeding 60,000. He has self allowance because he is a citizen of his country.
The fomular of tax calculation is
Total income - deduction of income - allowance = net income

This net income will be use in tax computation methods : progressive and fix rate

the progressive is always be selected whereas fix rate method will be selected if taxpayer income
is not in form of salary.

After the system selected the tax computation method and computed already.
It should be able to suggest tax reduction plan.

From the previous example, a physician earned income in form of salary. The salary income can be deducted
40% of total earned but not exceeding 60,000 . However, if he declare himself as
medical profession, not an employee of a hospital , he will allow to deduct his income upto 60%.

My wish expert system could suggest taxpayer to do something like this.

Could Drools experts capable to do something like this ?

Thank you in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红ご颜醉 2024-12-20 16:00:44

是的,流口水可以处理它,但是您需要分析对问题进行建模的最佳方法。您基本上可以使用一些决策表或简单规则来解决此问题,具体取决于您创建的用于表示领域概念的模型。

干杯

Yes drools can handle it, but you need to analyze the best way to model the problem. You can basically solve this problem using some decision tables or just plain rules, depending on the model that you create to represent the domain concepts.

Cheers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文