views:

81

answers:

2

Hi,

Is there a Graph generation library in Java which generators graphs (of different types) such that G{n,p} graph chooses each of the possible [n(n-1)]/2 edges with probability p.

The closest I could find was NetworkX -Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.

Well If I cant find anything good I might have to create my own random generator using jGraph or jgraphT

A: 

Well nevermind I just used JgraphT to write a function which adds edges based on a probability p for each edge.

bakore
A: 

http://jung.sourceforge.net/ i hope it helps

joker