0

I want to write a program that creates a NRG from a map structure. This graph should keep the topology relation of the map structure. Do you have any suggestion ?

1
  • you want an api to make graph if i understand ? Jul 6, 2015 at 14:26

1 Answer 1

0

If you looking for an APi for graph :

JGraphT sounds like what you're after.

JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT supports various types of graphs.

Their API can create graphs from various input and also supports creating graphs using addVertex, addEdge. They support finding shortest paths using various well know algorithms such as Bellman-Ford and Dijkstra They also have a complete javadoc available online.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.