Good Java graph algorithm library? [closed]

2018-12-31 18:25发布

Has anyone had good experiences with any Java libraries for Graph algorithms. I've tried JGraph and found it ok, and there are a lot of different ones in google. Are there any that people are actually using successfully in production code or would recommend?

To clarify, I'm not looking for a library that produces graphs/charts, I'm looking for one that helps with Graph algorithms, eg minimum spanning tree, Kruskal's algorithm Nodes, Edges, etc. Ideally one with some good algorithms/data structures in a nice Java OO API.

18条回答
闭嘴吧你
2楼-- · 2018-12-31 18:40

JUNG is a good option for visualisation, and also has a fairly good set of available graph algorithms, including several different mechanisms for random graph creation, rewiring, etc. I've also found it to be generally fairly easy to extend and adapt where necessary.

查看更多
浮光初槿花落
3楼-- · 2018-12-31 18:40

Try Annas its an open source graph package which is easy to get to grips with

http://annas.googlecode.com

查看更多
有味是清欢
4楼-- · 2018-12-31 18:43

http://incubator.apache.org/hama/ is a distributed scientific package on Hadoop for massive matrix and graph data.

查看更多
听够珍惜
5楼-- · 2018-12-31 18:47

In a university project I toyed around with yFiles by yWorks and found it had pretty good API.

查看更多
还给你的自由
6楼-- · 2018-12-31 18:48

JDSL (Data Structures Library in Java) should be good enough if you're into graph algorithms - http://www.cs.brown.edu/cgc/jdsl/

查看更多
呛了眼睛熬了心
7楼-- · 2018-12-31 18:49

If you are actually looking for Charting libraries and not for Node/Edge Graph libraries I would suggest splurging on Big Faceless Graph library (BFG). It's way easier to use than JFreeChart, looks nicer, runs faster, has more output options, really no comparison.

查看更多
登录 后发表回答