牙齿里面疼是什么原因| 社会保险费是什么| 幼儿园中班学什么| 子宫增大是什么原因| 菠萝是什么季节的水果| 梦到被猪咬是什么意思| d是什么单位| 18年是什么年| 老年人腿脚无力是什么原因| 蛟龙是什么意思| 内在美是什么意思| 英氏属于什么档次的| 榴莲吃多了有什么坏处| 滋润是什么意思| mpv是什么意思| 神经痛用什么药| k是什么| 染色体是什么| 总胆固醇偏高吃什么药| o型血生的孩子是什么血型| 沙僧的武器叫什么| 伏案工作是什么意思| 临床医学专业学什么| 局气是什么意思| 减肥去医院挂什么科| 床头朝向有什么讲究| 铁观音是属于什么茶| 吃生红枣有什么好处| 儿童吃什么钙片补钙效果好| 帛书是什么意思| 孕妇吃坚果对胎儿有什么好处| 消化性溃疡吃什么药好| 什么人容易得焦虑症| 人造棉是什么面料| 属猪的跟什么属相最配| 肺阴虚吃什么食物最好| 农历七月初七俗称什么| 电灯泡什么意思| 心机女是什么意思| 暗的反义词是什么| 香港什么时候回归| sheen是什么牌子的手表| 短杆菌是什么意思| 打哈欠为什么会传染| 高中学考是什么意思| 什么叫市级以上医院| 牙龈萎缩吃什么维生素| dine是什么意思| 轻微骨裂了有什么表现| 什么是混合物| 老鼠的克星是什么| 血小板高是什么问题| psv是什么| 经血逆流的症状是什么| 利而不害为而不争是什么意思| 化疗后吃什么| 洁颜油是干什么用的| 安全生产职责是什么| a03是什么| 夏至是什么| 下面出血是什么原因| 梦见孕妇大肚子是什么意思| 砖茶是什么茶| 肝小钙化灶是什么意思| 什么鱼最好养活| 绞丝旁奇念什么| pa代表什么意思| 霜降吃什么| 奶酪是什么做的| 仰角是什么意思| 什么最赚钱| 结缔组织是什么| 什么的狼| 微博是什么意思| 手汗症挂什么科| 死猪不怕开水烫是什么意思| 农历六月十九是什么日子| 女生什么时候是排卵期| 解脲脲原体是什么意思| 圣水是什么| 眩晕症什么症状| 2016年是什么生肖| av是什么意思| 巴利属于什么档次的| 霍金什么病| 阿司匹林是什么| 最大的行星是什么| 舌苔重是什么原因| 男孩长虎牙预示什么| 打两个喷嚏代表什么| 财代表什么生肖| 父亲节应该送什么| 安痛定又叫什么名字| 梦见别人搬家预示什么| 一什么颜色| 怀孕了吃什么| 看头部挂什么科| 蹲着有什么好处| 早上吃什么减肥| gly是什么氨基酸| 牙齿突然酸痛什么原因| 什么孩子该看心理医生| 梦见梨是什么意思| 心机血缺血吃什么药最好| 化妆棉是干什么用的| 车加昆念什么| 大腿后侧疼痛什么原因| 观音殿求什么| 授人以鱼不如授人以渔什么意思| 麦穗是什么牌子| 什么是宇宙| 养精蓄锐是什么意思| 缺黄体酮会有什么症状| 局部皮肤瘙痒什么原因| 血常规是什么意思| 白带增多是什么原因| 梦见生孩子是什么意思解梦| 2月30日是什么星座| 自省是什么意思| 什么叫通勤| 电信积分有什么用| 金玉其外败絮其中是什么意思| 肚脐眼为什么会有臭味| 优思明是什么| 96120是什么电话| 脾胃不好吃什么药| 存是什么生肖| 心脏供血不足是什么原因引起的| 打破伤风挂什么科| 间歇性跛行见于什么病| 龟奴是什么| 宫腔分离是什么意思| 什么情况下吃奥司他韦| 血浆蛋白是什么| 漏尿是什么原因造成的| 什么是染色体| 梦见手抓屎是什么意思| 什么样人穿棉麻好看| 工作性质是什么意思| kimi什么意思| 适当是什么意思| 女人右眼皮跳是什么预兆| 附子理中丸治什么病| 后脑袋疼是什么原因| 多巴胺是什么意思| 2月29号是什么星座| 嘴边起水泡是什么原因| 什么路最窄打一生肖| 绝经后子宫内膜增厚是什么原因| 梦见放生鱼是什么意思| 为什么会得静脉曲张| 冷萃是什么意思| 突然抽搐是什么原因| 肝ca是什么意思| 突然发热是什么原因| 障碍性贫血是什么病| 一什么图画| 玉米有什么营养价值| 结缔组织病是什么病| 新生儿黄疸高有什么危害| 抚摸是什么意思| 大象什么颜色| 前什么后什么| 大白菜什么时候种| 臭酸是什么| 啤酒对身体有什么好处| 排卵的时候有什么症状| 老年人脸肿是什么原因引起的| 石骨症是什么病| 团购是什么意思| Lady什么意思| 得失是什么意思| 女朋友生日送什么| 没落是什么意思| 何许人也是什么意思| 金匮肾气丸有什么功效| 肝火旺盛失眠吃什么药| 80年出生属什么生肖| 脾的作用是什么| 神经官能症吃什么药| 喝酒后手麻是什么原因| 乳腺结节有什么症状| 师参谋长是什么军衔| 荨麻疹去药店买什么药| 为什么耳朵总是嗡嗡响| 天秤座男生喜欢什么样的女生| 肉桂有什么作用| 黄绿色痰液是什么感染| 人皇是什么意思| 氯雷他定片什么时候吃| 年轻人创业做什么好| 闪回是什么意思| 一片哗然是什么意思| 腿酸痛是什么原因| 副主任科员是什么级别| 细小是什么病什么症状| 身体发烧是什么原因| 咸鱼翻身是什么意思| 一个六一个允念什么| 10.30是什么星座| 夏威夷果吃了有什么好处| apl是什么意思| 高血钾是什么意思| 1989年出生的是什么命| 2008年属什么生肖| 肝囊肿吃什么药能消除| 总梦到一个人说明什么| ctu是什么意思| 繁花似锦是什么意思| esr是什么意思| 为什么闭眼单脚站不稳| 房间朝向什么方向最好| 胃酸过多是什么原因造成的| 头颅mri是什么检查| 爬坡是什么意思| 刺梨果有什么功效| 含锶矿泉水有什么好处| 石楠花是什么味道| 10月25号是什么星座| 甲亢可以吃什么| kiss什么意思| cmn是什么意思| 手指盖空了是什么原因| 来日方长什么意思| 午安是什么意思| 辩证思维是什么意思| 息影是什么意思| 免疫力低吃什么| 胸膜炎挂什么科| 二网是什么意思| 安徒生被誉为什么| ol是什么| 10.14是什么星座| 农历六月初六是什么星座| 牛油果坏了是什么样| 人为什么会胖| 蒙蔽是什么意思| 停经吃什么药能来月经| 闺房之乐是什么意思| 副局级是什么级别| 什么样的电动牙刷好| 粉丝是什么做的| 因为我们没有什么不同| asia是什么意思| 戒烟有什么好处| 茹是什么意思| 汁字五行属什么| 畏首畏尾是什么意思| 琪五行属什么| 什么情况下要打狂犬疫苗| 艾灸脚心有什么好处| 心气虚吃什么中成药| 属蛇女和什么属相最配| 菊花和枸杞泡水喝有什么功效| 层林尽染是什么季节| 手足口病用什么药| 网罗是什么意思| 龟头发红是什么原因| 绝对零度是什么意思| 拿什么东西不用手| 洁面液是干什么用的| 氢键是什么| 腮腺炎吃什么药好| 全国政协副主席是什么级别| 百度
百度 巴音朝鲁在讲话中指出,过去的一年,全省各民主党派、工商联和无党派人士始终高举中国特色社会主义伟大旗帜,牢牢把握团结和民主两大主题,坚持正确政治方向,坚持服务中心大局,坚持主动担当作为,坚持联系服务群众,坚持汇集智慧力量,为全省经济社会持续健康发展作出了重要贡献。

The SMAWK algorithm is an algorithm for finding the minimum value in each row of an implicitly-defined totally monotone matrix. It is named after the initials of its five inventors, Peter Shor, Shlomo Moran, Alok Aggarwal, Robert Wilber, and Maria Klawe.[1]

Input

edit

For the purposes of this algorithm, a matrix is defined to be monotone if each row's minimum value occurs in a column which is equal to or greater than the column of the previous row's minimum. It is totally monotone if the same property is true for every submatrix (defined by an arbitrary subset of the rows and columns of the given matrix). Equivalently, a matrix is totally monotone if there does not exist a 2×2 submatrix whose row minima are in the top right and bottom left corners. Every Monge array is totally monotone, but not necessarily vice versa.

For the SMAWK algorithm, the matrix to be searched should be defined as a function, and this function is given as input to the algorithm (together with the dimensions of the matrix). The algorithm then evaluates the function whenever it needs to know the value of a particular matrix cell. If this evaluation takes O(1), then, for a matrix with r rows and c columns, the running time and number of function evaluations are both O(c(1 + log(r/c))). This is much faster than the O(r c) time of a naive algorithm that evaluates all matrix cells.

Method

edit

The basic idea of the algorithm is to follow a prune and search strategy in which the problem to be solved is reduced to a single recursive subproblem of the same type whose size is smaller by a constant factor. To do so, the algorithm first preprocesses the matrix to remove some of its columns that cannot contain a row-minimum, using a stack-based algorithm similar to the one in the Graham scan and all nearest smaller values algorithms. After this phase of the algorithm, the number of remaining columns will at most equal the number of rows. Next, the algorithm calls itself recursively to find the row minima of the even-numbered rows of the matrix. Finally, by searching the columns between the positions of consecutive even-row minima, the algorithm fills out the remaining minima in the odd rows.

Applications

edit

The main applications of this method presented in the original paper by Aggarwal et al. were in computational geometry, in finding the farthest point from each point of a convex polygon, and in finding optimal enclosing polygons. Subsequent research found applications of the same algorithm in breaking paragraphs into lines,[2] RNA secondary structure prediction,[3] DNA and protein sequence alignment,[4][5] the construction of prefix codes,[6] and image thresholding,[7] among others.

References

edit
  1. ^ Aggarwal, Alok; Klawe, Maria M.; Moran, Shlomo; Shor, Peter; Wilber, Robert (1987), "Geometric applications of a matrix-searching algorithm", Algorithmica, 2 (1–4): 195–208, doi:10.1007/BF01840359, MR 0895444.
  2. ^ Wilber, Robert (1988), "The concave least-weight subsequence problem revisited", Journal of Algorithms, 9 (3): 418–425, doi:10.1016/0196-6774(88)90032-6, MR 0955150
  3. ^ Larmore, Lawrence L.; Schieber, Baruch (1991), "On-line dynamic programming with applications to the prediction of RNA secondary structure", Journal of Algorithms, 12 (3): 490–515, doi:10.1016/0196-6774(91)90016-R, MR 1114923.
  4. ^ Russo, Luís M. S. (2012), "Monge properties of sequence alignment", Theoretical Computer Science, 423: 30–49, doi:10.1016/j.tcs.2011.12.068, MR 2887979.
  5. ^ Crochemore, Maxime; Landau, Gad M.; Ziv-Ukelson, Michal (2003), "A subquadratic sequence alignment algorithm for unrestricted scoring matrices", SIAM Journal on Computing, 32 (6): 1654–1673 (electronic), CiteSeerX 10.1.1.57.8562, doi:10.1137/S0097539702402007, MR 2034254.
  6. ^ Bradford, Phil; Golin, Mordecai J.; Larmore, Lawrence L.; Rytter, Wojciech (2002), "Optimal prefix-free codes for unequal letter costs: dynamic programming with the Monge property", Journal of Algorithms, 42 (2): 277–303, CiteSeerX 10.1.1.45.5501, doi:10.1006/jagm.2002.1213, MR 1895977.
  7. ^ Luessi, M.; Eichmann, M.; Schuster, G.M.; Katsaggelos, A.K. (2006), "New results on efficient optimal multilevel image thresholding", IEEE International Conference on Image Processing, pp. 773–776, CiteSeerX 10.1.1.461.663, doi:10.1109/ICIP.2006.312426, ISBN 978-1-4244-0480-3.
一喝酒就脸红是什么原因 nsnm什么意思 血虚是什么原因造成的 电泳是什么 强迫症吃什么药
心脏缺血吃什么药好 什么人不能喝蜂蜜 给猫咪取什么名字好听 pt代表什么 纪委书记是什么级别
阑尾炎手术后吃什么好 棒打鸳鸯什么意思 什么补钾 四个火是什么字 痔疮什么样子图片
属鼠的和什么属相相克 高血压和高血脂有什么区别 西洋菜是什么菜 孩子爱咬指甲是什么原因 社保基金是什么
百合花什么颜色gysmod.com 2017年是属什么年hcv8jop9ns0r.cn a4腰什么意思xscnpatent.com 肌酐高吃什么好hcv7jop6ns5r.cn 吃什么水果去火hcv7jop4ns6r.cn
平血头晕吃什么药最好bjhyzcsm.com 纳豆激酶有什么作用hcv8jop5ns6r.cn 动脉硬化用什么药好hcv9jop0ns9r.cn 铁皮石斛适合什么人吃sanhestory.com 什么植物有毒hcv7jop7ns0r.cn
头什么脚什么wzqsfys.com 机油用什么能洗掉hcv9jop2ns6r.cn 甲醛超标有什么危害0297y7.com 芭蕉和香蕉有什么区别hcv7jop5ns2r.cn 宰相的宰最早指什么hcv8jop2ns5r.cn
多梦是什么原因造成的hcv9jop6ns2r.cn 上海龙华医院擅长什么hcv9jop5ns2r.cn 胃肠镜能检查出什么病hcv9jop3ns2r.cn 老年人打嗝不止是什么原因hcv9jop1ns8r.cn 支气管炎是什么症状520myf.com
百度