-
判断表达式中括号是否配对的小程序
判断表达式中括号是否配对的小程序-judgment regular expression matching brackets whether the small program
- 2022-07-16 11:36:32下载
- 积分:1
-
本算法使用分治法求解最近点对问题。事先用O(nlogn)时间对x坐标进行排序,使得所有的点是按x坐标从小到大排好序的(x坐标相同时y坐标小的排前),然后取下标小...
本算法使用分治法求解最近点对问题。事先用O(nlogn)时间对x坐标进行排序,使得所有的点是按x坐标从小到大排好序的(x坐标相同时y坐标小的排前),然后取下标小于n/2属于左边的点集PL,取下标大于n/2属于右边的点集PR,即用O(1)时间就可以将规模为n的问题分解为两个规模为n/2的、同类型的子问题。分割完毕之后就可以采用分治法,分别求出PL和PR中的最近点对,最终通过递归实现。-This algorithm uses divide and conquer to solve the problem closest point. Prior to use O (nlogn) time to sort the x coordinate so that all points are based on x coordinates from small to large sorted (x coordinates with the same y coordinates of the small, the top), and then remove the standard is less than n/2 the set of points belonging to the left PL, remove the standard is greater than n/2 set of points belonging to the right of PR, that is to use O (1) time can be the problem size n divided into two size n/2, the same type The sub-problems. Segmentation can be used after completion of sub-rule method, respectively, find the PL and PR in the last points and eventually through the recursion.
- 2022-01-25 16:01:13下载
- 积分:1
-
一种窄带干扰抑制的非线性自适应预测滤波算法!
一种窄带干扰抑制的非线性自适应预测滤波算法!-a narrowband interference suppression filter nonlinear adaptive prediction algorithm!
- 2023-05-01 11:40:03下载
- 积分:1
-
java小程序,愿意和大家一起分享,挺有趣的哦.
java小程序,愿意和大家一起分享,挺有趣的哦.-java small procedures, and is willing to share with everyone, they are interesting, oh.
- 2022-10-10 15:20:02下载
- 积分:1
-
一个小的文件分割器。
一个小的文件分割器。-a small file dividers.
- 2022-03-17 20:34:39下载
- 积分:1
-
100个asp简单学习例子
100个asp简单学习例子-100 asp learning simple example
- 2022-01-26 06:04:17下载
- 积分:1
-
guess the word game ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ ~~
猜字游戏~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~ ~~~~~
-guess the word game ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ ~~
- 2022-01-26 07:29:36下载
- 积分:1
-
用VB来做出的学籍管理系统 !
用VB来做出的学籍管理系统 !-Using VB to make the school management system!
- 2022-09-24 01:30:03下载
- 积分:1
-
动作类游戏,很适合现在的年轻朋友玩,而且设备简单,操作灵活,内容有趣...
动作类游戏,很适合现在的年轻朋友玩,而且设备简单,操作灵活,内容有趣-action game, which is perfect for the young people to play, but simple equipment, operational flexibility, interesting!
- 2022-02-03 05:38:22下载
- 积分:1
-
delphi使用dll的方法详解
delphi使用dll的方法详解-delphi use of the method for Hi dll
- 2022-02-21 06:39:57下载
- 积分:1