JUNG 2.0 TutorialOr how to achieve graph based nirvana in Java 1 IntroductionJUNG2 is a major revision of the popular Java Universal Network/Graph framework. This is a programming tutorial intended to demonstrate and illustrate individual features of JUNG2 with as little extra code as possible. Hence none of the code examples here will show off the combined full power of JUNG2, for that you should try out the very nice example programs that come with JUNG2. Note that the examples in this document have been tested against JUNG2 version 2.0 and this nddocument was last updated April 22 , 2009. 1.1 Information on the non-JUNG Library DependenciesJUNG 2 depends on three other libraries: JUnit, Colt, and Common Collections .1. JUnit is strictly used for testing JUNG. This is hosted at source forge: http://junit.sourceforge.net/ , with a very good separate site at http://www.junit.org/ . This is a very nice methodology for unit testing. Note that JUNG2 unit test provide further coding examples.2. Commons Collections: This stems from the Apache Jakarta Commons Collections http://jakarta.apache.org/commons/collections/. However, the current version of this library doesn't use generics and hence loses much of the type safety that JUNG2 provides. Hence others noticed this and produced a version with the same functionality based on generics. The folks at http://larvalabs.com/collections ha/ve a source forge project http://sourceforge.net/projects/collections/ ...
Voir