简体   繁体   English

Chazelle的三角剖分算法的实现

[英]Implementation of Chazelle's triangulation algorithm

There is an algorithm for triangulating a polygon in linear time due to Chazelle (1991), but, AFAIK, there aren't any standard implementations of his algorithm in general mathematical software libraries. 由于Chazelle(1991),有一种在线性时间内多边形进行三角测量算法 ,但是,AFAIK,在一般的数学软件库中没有他的算法的任何标准实现。

Does anyone know of such an implementation? 有谁知道这样的实现?

See this answer to the question Powerful algorithms too complex to implement : 查看问题的答案 强大的算法实现起来太复杂了

According to Skiena (author of The Algorithm Design Manual), "[the] algorithm is quite hopeless to implement." 根据Skiena(算法设计手册的作者)的说法,“[该]算法实施起来毫无希望。”

I've looked for an implementation before, but couldn't find one. 我以前找过一个实现,但找不到一个。 I think it's safe to assume no-one has implemented it due to its complexity, and I think it also has quite a large constant factor so wouldn't do well against O(n lg n) algorithms that have smaller constant factors. 我认为由于其复杂性而假设没有人实现它是安全的,并且我认为它也具有相当大的常数因子,因此对于具有较小常数因子的O(n lg n)算法不会很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM