用于 Objective C 的 jGraphT?
我正在寻找 Objective C 中的有向无环图实现。 我在 Java 领域使用 jGraphT 取得了巨大的成功。我正在使用 DirectedGraph 来 对电源子系统进行建模,现在我需要 iPhone/iPad 的等效代码。
开源库中是否存在这样的东西?还是我需要自己动手?
I'm looking for a Directed Acyclic Graph implementation in Objective C.
I've had enormous success with jGraphT in the Java space. I'm using a DirectedGraph to model a power subsystem, and now I need equivalent code for iPhone/iPad.
Does such a thing exist in an open source library? Or do I need to roll my own?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
目前 Objective C 中没有可用的实现。然而,这应该非常有帮助,特别是 Mark Wukta 的 PASCAL 实现。
请参阅
https://stackoverflow.com/questions/1284928/directed-graph -实现-in-objective-c/13310549#13310549
There's no available implementation in Objective C at present. However, this should be very helpful, particularly Mark Wukta's PASCAL implementation.
See
https://stackoverflow.com/questions/1284928/directed-graph-implementation-in-objective-c/13310549#13310549
AFAIK 没有 Objective-C 库。我需要一个有向字母,并且我分叉 Aaron Qi的digraph。也许加上 Tarjan 的算法,你就差不多了,但 jgrapht 的功能还差得很远。
AFAIK there is not Objective-C library for that. I needed a digraph and I forked Aaron Qian's digraph. Maybe add Tarjan's algorithm and you are almost there, but jgrapht is miles away in features.