English 中文(简体)
如何使用带有MTD(f)的转换表
原标题:How to use transposition tables with MTD(f)

I m 写A,打心游戏,经过一些测试,I ve发现,使用MTD(f)法算法(一系列零窗口搜索)比自己使用甲型六氯环己烷更快。

MTD(f)算法在以下网址作了很好的描述:http://people.csail.mit.edu/plaat/mtdf.html

我面临的问题是,对于MTD(f)搜索中的每一份通行证(针对每一方)而言,我并没有重复我所储存的以往任何职位,尽管该链接上的文字表明,我应当(事实上,在校对之间的表格加快算法)。

我的问题是,当我把立场和价值储存在我的转表上时,我也储存其有效的甲型和乙型价值。 因此,与不同的树木(以及因此的甲型和乙型)的第二次穿过树,可能重复任何信息。 难道这是人们期望的,还是我在此缺乏一些基本的东西?

例如,如果对甲型=3 beta=4来说,我们就取得了7项成果(显然是一种截断),那么我是否在表格中储存该表对甲型=3的β=6有效? Or beta=7?

最佳回答
问题回答

暂无回答




相关问题
How to add/merge several Big O s into one

If I have an algorithm which is comprised of (let s say) three sub-algorithms, all with different O() characteristics, e.g.: algorithm A: O(n) algorithm B: O(log(n)) algorithm C: O(n log(n)) How do ...

Grokking Timsort

There s a (relatively) new sort on the block called Timsort. It s been used as Python s list.sort, and is now going to be the new Array.sort in Java 7. There s some documentation and a tiny Wikipedia ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

Enumerating All Minimal Directed Cycles Of A Directed Graph

I have a directed graph and my problem is to enumerate all the minimal (cycles that cannot be constructed as the union of other cycles) directed cycles of this graph. This is different from what the ...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...

热门标签