首页> 外文会议>International Conference on Logic Programming >Research Summary: Tabled Evaluation for Transaction Logic Programs
【24h】

Research Summary: Tabled Evaluation for Transaction Logic Programs

机译:研究摘要:对交易逻辑计划的提交评估

获取原文

摘要

In my thesis, I present problems and techniques in tabling Transaction Logic (TR). TR is an extension of classical logic programming with backtrackable state updates and it has a top-down evaluation algorithm similar to Prolog's SLD derivation extended with execution paths of states instead of a single global state. This backward chaining algorithm can be very inefficient by re-computing the same transactional queries more than once, or can enter into infinite loops by visiting the same paths of states an infinite number of times when computing answers to recursive programs. We solve these problems by memoizing (caching) the calls, call initial states, unifications (answers) and return states in a searchable structure for the Sequential Transaction Logic, respective building a graph for the query and tabling the nodes ready for current execution for the Concurrent Transaction Logic. Important problems of tabling TR are to store, index, update, query and resume states into memory. I implemented and measured the efficiency of multiple data structures used in tabling programs with backtrackable updates in XSB Prolog. My thesis studies the data structures and their performance for various applications of TR, such as, artificial intelligence planning, NP-complete graph algorithms (Hamiltonian cycle, clique, shortest consuming paths, connected components) and active databases. One of the most promising techniques was storing logs (i.e., inserts and deletes relative to a materialized state) into individual tries (optimized for querying), while keeping a global page trie as a common index for restarting.
机译:在我的论文中,我提出了TABLEATION CAPANING LOGIC(TR)的问题和技术。 TR是具有回溯状态更新的经典逻辑编程的扩展,它具有类似于Prolog的SLD推导器的自上而下的评估算法,其中包含状态的执行路径而不是单个全局状态。通过重新计算相同的事务查询,通过重新计算相同的事务查询,或者可以通过访问递归程序的答案时无限次数的相同路径来进入无限循环,这是非常效率的。我们通过备忘(缓存)呼叫,呼叫初始状态,答案(答案)和返回状态来解决这些问题,并在可搜索的结构中返回状态,用于顺序事务逻辑,相应构建查询的图形,以及为当前执行的节点提取节点。并发事务逻辑。 TAB的重要问题是将索引,更新,查询和恢复状态存储,索引,更新,查询和恢复状态。我实施并测量了在XSB Prolog中具有回溯更新的提取程序的多个数据结构的效率。我的论文研究了数据结构及其对TR的各种应用的性能,例如人工智能规划,NP完整的图形算法(Hamiltonian周期,Clique,Clique,最短消费路径,连接组件)和活动数据库。最有前途的技术之一是将日志(即,插入和删除相对于物化状态)存储到单个尝试(针对查询),同时将全局页面Trie保留为重新启动的常见索引。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号