资源列表
[数值算法/人工智能] 郁闷的出纳员
说明:求第k大的树通过伸展树的特点,每次查询后自动伸展将目标节点通过左旋,右旋直至根节点,这样下一个最大值就可以通过左子树的最右端子树求得。(The largest K tree can be extended automatically after each query, and the target node is left, right to the root node, so that the next maximum value can be obtained through the mos<姚任性 > 在 2025-07-05 上传 | 大小:1kb | 下载:0
[数据结构常用算法] uglynumber
说明:构造一个集合,里面的数都是丑数,那么任意取一个集合内的数,假设为k,那么2k,3k,5k,7k也是丑数,丢进集合中。因为要求第n小,那么考虑优先队列取前n小数,从1开始扩展集合,重复n次操作,最后的数便是答案。(Construct a set whose numbers are all ugly numbers, then take the number of a collection arbitrarily, assuming that it is K. Then 2K, 3k, 5K and<姚任性 > 在 2025-07-05 上传 | 大小:49kb | 下载:0
[数据结构常用算法] movewindow
说明:建立一个单调递增队列,元素从左到右依次入队,入队之前必须从队列发问开始删除那些比当前入队元素大或者相等的元素,直到遇到一个比当前入队元素小的元素,或者队列为空为止。若此时队列的大小超过窗口值,则从队头删除元素,直到队列大小小入窗口值为止。然后把当前元素插入队尾。(The establishment of a monotonically increasing queue elements from left to right in the team, the team must start fro<姚任性 > 在 2025-07-05 上传 | 大小:10kb | 下载:0
[数据结构常用算法] FrequentValue
说明:求出现最多的数: 给定n个数,已按从大到小顺序排列好,一共有q个询问,每次询问一个区间,问这个区间中出现次数最多的数是什么。(Find the most of the number: Given the number of N, it has been arranged in order from big to small. There are Q queries, asking for an interval each time, and ask what the most fre<姚任性 > 在 2025-07-05 上传 | 大小:50kb | 下载:0
[matlab例程] Offset Crank slider
说明:Prove mathematically that the lengths of the crank and of the connecting rod are AB = 47 mm and BC = 105 mm respectively to the nearest millimetre.<cubes00> 在 2018-01-06 上传 | 大小:386byte | 下载:0
[matlab例程] 模糊自适应PID控制建模
说明:关于模糊PID的仿真以及与普通PID的结果比较(Simulation comparison of fuzzy PID)<Calen > 在 2025-07-05 上传 | 大小:21kb | 下载:0
[数学计算/工程计算] wechat_jump
说明:微信跳一跳python自动跳,自动识别图像 自动触摸。(WeChat jump Python jump automatically, automatic recognition of image automatic touch.)<小宝噶 > 在 2025-07-05 上传 | 大小:26.58mb | 下载:0
[matlab例程] AnalysisKSVDbox
说明:K-SVD可以看做K-means的一种泛化形式,K-means算法总每个信号量只能用一个原子来近似表示,而K-SVD中每个信号是用多个原子的线性组合来表示的。 K-SVD通过构建字典来对数据进行稀疏表示,经常用于图像压缩、编码、分类等应用。(K-SVD can be regarded as a generalized form of K-means. The total K-means algorithm can only approximate one signal for each sem<华仔007 > 在 2025-07-05 上传 | 大小:611kb | 下载:0