Bentley Ottmann扫描线算法中,事件队列(event queue)的空间规模
自己找到了一个关于这个空间规模的证明,所以就自己翻译并回答一下好了。这样其他有类似疑问的同学也可以参考参考。------------------------------------分割---------------------------------






【Bentley Ottmann扫描线算法中,事件队列(event queue)的空间规模】
■网友
If the crossings found by the algorithm do not need to be stored once they have been found, the space used by the algorithm at any point in time is O(n): each of the n input line segments corresponds to at most one node of the binary search tree T, and as stated above the event queue contains at most 3nelements. This space bound is due to Brown (1981); the original version of the algorithm was slightly different (it did not remove crossing events from Qwhen some other event causes the two crossing segments to become non-adjacent) causing it to use more space.基本上我觉得这种问题应该先看wikipedia……
推荐阅读
- 手绘二维码可以被扫描出来吗
- |国之英雄 时代偶像 江苏担当——江苏抗疫英雄群像扫描
- 江苏抗疫英雄群像扫描:国之英雄 时代偶像
- 二维码有破损,咋还可以扫描出网址
- Nmap 扫描出现问题(root privileges)
- 帅评科技|讯飞扫描词典笔体验:精益求精的英语学习工具,美妙的体验
- 豆瓣真的有反垃圾机器人吗是做啥的
- 码后|
- 发送文件可否做成二维码扫描样式,对方只要扫描二维码,填写收文人姓名。发送方就可以收到对方的收文反馈
- 支持4800×9600dpi 的扫描仪有适用场合吗
