|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni_leipzig.cvk.data.GraphGenerator
public class GraphGenerator
Generates graphs.
Constructor Summary | |
---|---|
GraphGenerator()
|
Method Summary | |
---|---|
static prefuse.data.Graph |
clique(int n,
int k)
Generates a (n,k)-partite-clique. |
static prefuse.data.Graph |
erdosRenyi(int n,
double p,
long randSeed)
Generates a graph with the Erdos-Renyi binomial model. |
static prefuse.data.Graph |
topped()
Generates a topped tetrahedron. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphGenerator()
Method Detail |
---|
public static prefuse.data.Graph clique(int n, int k)
n
- #nodesk
- #cliquespublic static prefuse.data.Graph erdosRenyi(int n, double p, long randSeed)
n
- #nodesp
- probabilityrandSeed
- use a seed for Random or don't with argument -1 for real random Graph with a random seed.public static prefuse.data.Graph topped()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |