helix.graph.algo
Class ErdosGenerator

java.lang.Object
  extended by helix.graph.algo.AbstractRandomGenerator
      extended by helix.graph.algo.ErdosGenerator
All Implemented Interfaces:
Generator, RandomGenerator

public class ErdosGenerator
extends AbstractRandomGenerator


Constructor Summary
ErdosGenerator(int nbVertices, double connectProba)
           
 
Method Summary
 Graph generate(GraphFactory factory)
           
 
Methods inherited from class helix.graph.algo.AbstractRandomGenerator
setSeed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErdosGenerator

public ErdosGenerator(int nbVertices,
                      double connectProba)
Method Detail

generate

public Graph generate(GraphFactory factory)