edu.stanford.math.plex4.graph.random
public class ErdosRenyiGraph extends GraphInstanceGenerator
GraphInstanceGenerator.ImplementationType| Modifier and Type | Field and Description |
|---|---|
protected int |
n |
protected double |
p |
graphImplementation, implementationType| Constructor and Description |
|---|
ErdosRenyiGraph(int n,
double p) |
| Modifier and Type | Method and Description |
|---|---|
AbstractUndirectedGraph |
generate() |
java.lang.String |
toString() |
initializeGraph, setImplementationTypepublic AbstractUndirectedGraph generate()
generate in class GraphInstanceGeneratorpublic java.lang.String toString()
toString in class java.lang.Object