|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.p2p.randomnetwork.RandomNetwork
Generates Erdos-Renyi Random Graph
| Constructor Summary | |
RandomNetwork(int size,
double probability)
|
|
| Method Summary | |
void |
buildRandomNetwork()
|
float |
getAvgDegree()
Get average degree of the network |
edu.uci.ics.jung.graph.Graph |
getGraph()
|
int |
getMaxDegree()
Get max degree of the network |
int |
getMinDegree()
Get min degree of the network |
double |
getWiringProbability()
|
void |
printNetwork()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomNetwork(int size,
double probability)
| Method Detail |
public void buildRandomNetwork()
public edu.uci.ics.jung.graph.Graph getGraph()
public double getWiringProbability()
public void printNetwork()
public float getAvgDegree()
public int getMaxDegree()
public int getMinDegree()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||