我正在开发一个 Java 应用程序,它需要执行一些复杂的逻辑规则推导作为其功能的一部分.我想用 Prolog 或其他一些逻辑/约束编程语言而不是 Java 来编写我的逻辑推导,因为我相信生成的代码会更简单且更易于维护.
I'm working on an application in Java, that needs to do some complex logic rule deductions as part of its functionality. I'd like to code my logic deductions in Prolog or some other logic/constraint programming language, instead of Java, as I believe the resulting code will be significantly simpler and more maintainable.
我用谷歌搜索了 Prolog 上的嵌入式 Java 实现,发现其中有很多,每个都有很少的文档.我的(适度的)选择标准是:
I googled for embedded Java implementations on Prolog, and found number of them, each with very little documentation. My (modest) selection criteria are:
我有哪些选择,它们的优缺点是什么?
What choices do I have and what are their advantages and disadvantages?
根据维基百科,以下版本的 Prolog 具有 Java 接口.我已经链接到他们的主页:
According to Wikipedia, the following versions of Prolog have Java interfaces. I've linked to the main pages for them:
祝您搜索顺利!
这篇关于Java的嵌入式Prolog解释器/编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!