username_4567
username_4567

Reputation: 4923

Java library to visualize algorithm

Is there any Java library to visualize common data structures (viz.stack queue LL etc) and their access methods? I just want to simulate what my data structure is doing..

Upvotes: 6

Views: 2296

Answers (3)

bchetty
bchetty

Reputation: 2241

You can also use JGraphT.

You can find relevant discussion here: Stackoverflow - Good Java Graph Algorithm Library

Upvotes: 0

Jon Egeland
Jon Egeland

Reputation: 12623

If you just want to visualize the data, check out JUNG:

http://jung.sourceforge.net/

If you're talking about visualizing what your code is doing to the data, JUNG might still help with that, but just Google searching gave me a lot of results, so try that.

Upvotes: 2

Vicky
Vicky

Reputation: 17425

I didn't quite understand your questions:

Do you:

1) want to learn how they work? try google, you will find many good applets which explain the working of algorithms and data structures through simple animation.

2) want to see the behavior in your app, run the app in debug mode.

Upvotes: 0

Related Questions