分治法的几种变形

  1. 二分法 dichotomy

    一种每次将原问题分解为两个子问题的分治法,是一分为二的哲学思想的应用。这种方法很常用,由此法产生了许多经典的算法和数据结构。

  2. 分解并在解决之前合并法 divide and marriage before conquest

    一种分治法的变形,其特点是将分解出的子问题在解决之前合并。

  3. 管道传输分治法 pipelined divide and conquer

    一种分治法的变形,它利用某种称为“管道”的数据结构在递归调用结束前将其中的某些结果返回。此方法经常用来减少算法的深度。

注: divide and marriage before conquest和pipelined divide and conquer 方法我并不太了解,只在某些参考文献上看过其名称。其原文定义如下:
divide and marriage before conquest:A variant of divide and conquer in which subproblems created in the "divide" step are merged before the "conquer" step.
pipelined divide and conquer:A divide and conquer paradigm in which partial results from recursive calls can be used before the calls complete. The technique is often useful for reducing the depth of an algorithm.
如果你有关于这两种算法的资料请告诉我(mailto:Starfish.h@china.com)

posted on 2007-04-06 21:59  IT Person  阅读(904)  评论(0编辑  收藏  举报