|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.ics.jung.random.generators.ErdosRenyiGenerator
Random Generator of Erdos-Renyi "binomial model"
| Constructor Summary | |
ErdosRenyiGenerator(int numVertices,
double p)
|
|
| Method Summary | |
ArchetypeGraph |
generateGraph()
Instructs the algorithm to generate the graph |
void |
setSeed(long seed)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ErdosRenyiGenerator(int numVertices,
double p)
numVertices - number of vertices graph should havep - Connection's probability between 2 vertices| Method Detail |
public ArchetypeGraph generateGraph()
GraphGenerator
generateGraph in interface GraphGeneratorpublic void setSeed(long seed)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||