搜索资源列表
SUANFAclass
- 算法中有关最小堆的算法,插入删除等。以及分治算法,排序算法-Algorithm for minimum heap algorithm, insert or delete. As well as divide and conquer algorithm, sorting algorithm
nearestpoint
- 随机在二维平面上生成一千个点,再利用分治算法计算这一千个点中的最近点对,并返回这两个点的距离和坐标-Randomly generated on a two-dimensional plane a thousand points, and then use divide and conquer algorithm to calculate these thousand points of the nearest point on, and return from, and coordinate t
Permutation
- 分治法源代码 用递归方法求n个数的无重复全排列。-Divide and conquer method source code
MergeSort
- 归并排序算法,该算法是采用分治法(Divide and Conquer)的一个非常典型的应用。-Merge sort algorithm, which is a very typical application using the divide and conquer method (Divide and Conquer) is.
project2100
- 用c语言做分治法之循环赛日程表,由于水平有限,我不知道错在哪里?请指教!-With the c language to divide and conquer the round-robin schedule, due to limited, I do not know wrong? Please advise!
posthost
- 邮局选址 问题描述:在一个按照东西和南北方向划分成规整街区的城市里,n个居民点散乱地分布在不同的街区中。用x坐标表示东西向,用y坐标表示南北向。各居民点的位置可以由坐标(x,y)表示。要求:为建邮局选址,使得n个居民点到邮局之距离的总和最小。 提示:带权中位数(分治算法) -Post office location problem descr iption: a north-south direction and in accordance with what is divided
合并排序
- 合并排序是建立在归并操作上的一种有效的排序算法。该算法是采用分治法(Divide and Conquer)的一个非常典型的应用。合并排序法是将两个(或两个以上)有序表合并成一个新的有序表,即把待排序序列分为若干个子序列,每个子序列是有序的。然后再把有序子序列合并为整体有序序列。将已有序的子序列合并,得到完全有序的序列;即先使每个子序列有序,再使子序列段间有序。若将两个有序表合并成一个有序表,称为2-路归并。合并排序也叫归并排序。(Merge sort is an efficient sortin