Please recommend a good library for Java graph algorithms.

Asked 1 years ago, Updated 1 years ago, 107 views

Is there anyone in the Java library who has used the graph algorithm? I found JGraph and wrote it. There are a lot of other things on Google. So I'm asking if there's a good library that you can use and recommend.

Just to add a little bit, the library I'm looking for is just about graphs. Not the chart. For example, the Least Kidney Tree, the Kruskal algorithm. Also, if there is a good algorithm or data structure among Java APIs, please recommend it.

algorithm java graph

2022-09-22 11:01

1 Answers

If you've already used JGraph, try JGraphT. JGraphT is used to show JGraph more visually. It's still under development, but it's quite stable, so there won't be any problem with using it. I analyzed the complexity of JGraphT a while ago, and it's not very fast, but it's a great choice when it comes to printing graphs and implementing graphs. I like to use this API, and it's good to use it when you need to quickly create a graph that's visible and working.


2022-09-22 11:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.