Prolog 在技术上是如何工作的?引擎盖下是什么? [英] How does Prolog technically work? What's under the hood?

查看:39
本文介绍了Prolog 在技术上是如何工作的?引擎盖下是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更多地了解 Prolog 的内部结构并了解其工作原理.

I want to learn more about the internals of Prolog and understand how this works.

我知道如何使用它.但不是它内部如何运作.Prolog 中使用的算法和概念的名称是什么?

I know how to use it. But not how it works internally. What are the names of the algorithms and concepts used in Prolog?

可能它会构建某种树结构或有向对象图,然后在查询时使用复杂的算法遍历该图.也许是深度优先搜索.可能有一些源代码,但最好先从高层次的角度阅读它.

Probably it builds some kind of tree structure or directed object graph, and then upon queries it traveres that graph with a sophisticated algorithm. A Depth First Search maybe. There might be some source code around but it would be great to read about it from a high level perspective first.

我对 AI 真的很陌生,理解 Prolog 似乎是一个很好的开始方式,恕我直言.我的想法是尝试重建类似的东西并完全跳过解析器部分.我需要知道我的研究方向.

I'm really new to AI and understanding Prolog seems to be a great way to start, imho. My idea is to try to rebuild something similar and skipping the parser part completely. I need to know the directions in which I have to do my research efforts.

推荐答案

AI 是一个广阔的领域,Prolog 只涉及符号 AI.至于 Prolog,内部工作原理太复杂,无法在此解释,但谷歌搜索将为您提供大量资源.例如.http://www.amzi.com/articles/prolog_under_the_hood.htm .

AI is a wide field, Prolog only touches symbolic AI. As for Prolog, the inner workings are too complex to explain here, but googling will give you plenty of resources. E.g. http://www.amzi.com/articles/prolog_under_the_hood.htm .

另请查看维基百科文章以了解 AI 的其他领域.

Check also Wikipedia articles to learn about the other areas of AI.

这篇关于Prolog 在技术上是如何工作的?引擎盖下是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆