2

I am working on a project that needs a Java library that can give me implementations for different Trees and Graphs (directed and undirected).

AFIO Java does not contain any implementation of Trees and Graphs by degault.

I tried to google it. But the results I got were more of towards visualization stuff. (Though I got some related to networks too, but that is not what I was looking for)

Do you know of any Java libraries that can support my need.

3 Answers 3

3

I've seen JGraphT used for working with graphs, with excellent results.

Side note, a tree is "just" a specific type of graph.

Sign up to request clarification or add additional context in comments.

Comments

1

Take a look at JUNG for graphs, Google g-trees for trees.

Comments

1

There are some interesting, immutable datastructures in http://functionaljava.org/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.