一棵开放的树
An Open Ended Tree
摘要:
开放式列表是Prolog程序中一种众所周知的数据结构。它经常用于表示随时间变化的值,而该值是从应用程序的数据结构中的多个位置引用的。这种技术的一个弱点是,时间复杂度与对由开放式列表表示的值的更新次数成线性关系。在这个编程珍珠,我们提出了一个变种的开放式列表,即一个开放式的树,更新和访问的时间复杂度对数的更新数量的值。
英文摘要:
An open ended list is a well known data structure in Prolog programs. It is frequently used to represent a value changing over time, while this value is referred to from several places in the data structure of the application. A weak point in this technique is that the time complexity is linear in the number of updates to the value represented by the open ended list. In this programming pearl we present a variant of the open ended list, namely an open ended tree, with an update and access time complexity logarithmic in the number of updates to the value.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。