edu.stanford.math.plex4.graph.random
public class BinaryTreeGraph extends GraphInstanceGenerator
GraphInstanceGenerator.ImplementationType| Modifier and Type | Field and Description |
|---|---|
protected int |
n |
graphImplementation, implementationType| Constructor and Description |
|---|
BinaryTreeGraph(int n) |
| 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