图排序或耳朵分解的任何实现?
我正在寻找耳朵分解算法的实现(http://www.ics.uci.edu/~eppstein/junkyard/euler/ear.html)。我检查了 networkx 并没有找一个。虽然算法布局在我的脑海中模糊不清,但我也希望看到一些参考实现。
我知道 Ulrik Brandes 关于线性时间 Eager st-ordering 算法的出版物,该算法如果我理解正确的话,会导致耳朵分解作为副产品(它甚至包括伪代码,我试图将其作为实现的基础)。
附带问题:第一步可能是对图进行 st 排序。您知道有任何 st 排序算法的实现吗?
感谢您的意见。我真的很想通过在 python 中实现耳朵分解算法来为 networkx 做出贡献。
I'm in the search for an implementation of an ear-decomposition algorithm (http://www.ics.uci.edu/~eppstein/junkyard/euler/ear.html). I examined networkx and didn't find one. Although the algorithm layout is vaguely in my mind, I'd like to see some reference implementation, too.
I'm aware of Ulrik Brandes publication on a linear time Eager st-ordering algorithm, which results in an ear decomposition as a side product, if I understand correctly (it even includes pseudocode, which I'm trying to base my implementation on).
Side problem: First step could be an st-ordering of a graph. Are there any implementations for st-ordering algorithms you know?
Thanks for your input. I'd really like to contribute e.g. to networkx by implementing the ear-decomposition algorithm in python.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我挖了这个,但功劳归于它的作者Minjae Park
I dug this up, but the credit goes to it's author Minjae Park