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